summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/Makefile.inc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* More correction of section 3 layout. directory->opendir, fts->fts_open,deraadt2019-09-021-5/+5
| | | | | getcap->cgetent. pwcache->user_from_uid. And then repair references. ok jmc
* No specific called "exec(3)", so move primary manpage to a name whichderaadt2019-08-111-2/+2
| | | | | | | | does exist -- execv(3). Still call this a family but without "Nm". Adjust Xr in various pages to refer to the precise function used rather than the family, in most cases the semantics of execve(2) are being referenced, so change the Xr. ok jmc
* Move sigwait(3) from libpthread to libcjca2019-01-121-3/+3
| | | | | | | | POSIX wants it in libc, that's where the function can be found on other systems. Reported by naddy@, input from naddy@ and guenther@. "looks ok" guenther@, ok deraadt@ Note: riding the libc/libpthread major cranks earlier today.
* Add C11's timespec_get(3); minor bump for libc.guenther2018-10-301-3/+3
| | | | | | Tweaked diff from brad@ manpage tweaks florian@ and jmc@ ok deraadt@ millert@
* sysctl(3) can now be renamed to sysctl(2)deraadt2018-01-121-2/+2
|
* Remove unused 32bit version of elf_hash().mpi2017-09-051-2/+2
| | | | | | Riding previous libc bump. ok kettenis@
* port the RBT code to userland by making it part of libc.dlg2017-06-191-2/+2
| | | | | | | | | | | | | | src/lib/libc/gen/tree.c is a copy of src/sys/kern/subr_tree.c, but with annotations for symbol visibility. changes to one should be reflected in the other. the malloc debug code that uses RB code is ported to RBT. because libc provides the RBT code, procmap doesn't have to reach into the kernel and build subr_tree.c itself now. mild enthusiasm from many ok guenther@
* It is distasteful to have manual pages which don't refer to realderaadt2017-05-291-2/+2
| | | | | | | function calls, but instead a "class" of functions like "sigsetops". Rename to sigaddset", and while at it improve documentation in sigprocmask(2) to point to it. ok tedu
* Stop supporting longjmperror(); it's not used, not portable, and the checksguenther2016-05-231-2/+2
| | | | | | | longjmp performs can't really be relied upon, even after we got rid of the false positives... ok millert@ deraadt@
* for some time now mandoc has not required MLINKS to functionjmc2016-03-301-104/+1
| | | | | | | | | | | | correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung
* mlinks for _shadowtedu2015-11-181-1/+2
|
* For getgrent.3:guenther2015-10-301-2/+2
| | | | | | | | | | | | | | | - delete the commented out setgrfile bits, as well as the MLINK - rename getgr{nam,gid}_r()'s 'buffer' parameters to 'buf' to be consistent with getpwnam(3) and practically all other section 3 manpages - we have sysconf(_SC_GETGR_R_SIZE_MAX) now, so uncomment and revise the text For getpwnam.3: - rename buflen to bufsize for consistency - rewrite the description of the getpw{nam,uid}_r functions to match the better getgr{nam,gid}_r() description, adding sysconf() bits Add sysconf(3) to SEE ALSO for both encouraged by schwarze@ ok millert@
* Rename __sysctl syscall to just sysctl, as the userland wrapper is no longerguenther2015-09-131-2/+2
| | | | | | necessary ok deraadt@ jsing@
* Fix aliasing of sys_errlist, sys_nerr, sys_siglist, and sys_signameguenther2015-09-061-4/+1
| | | | | | to eliminate duplicate copies of the tables and get direct access internally ok kettenis@ deraadt@
* Remove obsolete timezone() function.millert2015-04-071-3/+3
| | | | Add timezone and daylight symbols for XSI compatibility.
* Add support for stravis() to vis.3 and Makefile.inc.doug2015-02-061-2/+2
| | | | | | stravis(3) is an OpenBSD extension that was added recently. input + ok schwarze@, jmc@, deraadt@
* In ingo's new world order, we do not want multiple manual pages describingderaadt2014-12-091-2/+2
| | | | | | | the same thingies. Therefore these "lists of functions" man pages can go away. Hurray! I've wanted these pages to die for around 10 years! ok ingo (and i think jmc)
* __tfork_thread is in libc, so move the manpage over tooguenther2014-07-101-4/+5
| | | | ok deraadt@
* Oh yeah, MLINKS for errc familyguenther2014-04-221-2/+3
| | | | Prodded by deraadt@
* Add errc/verrc/warnc/vwarnc family: versions of err/... that take the errnoguenther2014-04-221-3/+3
| | | | | | | value to use for the strerror() message as an argument. Originally from FreeBSD 3.0 Patch from Steffen Nurpmeso (sdaoden (at) gmail.com) with minor tweaks.
* Add support for the _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME options,guenther2013-06-171-3/+5
| | | | | | | | including CLOCK_{PROCESS,THREAD}_CPUTIME_ID constants and {clock,pthread}_getcpuclockid() functions. Worked out at t2k13 with help from tedu@ and matthew@ and testing by aja@ ok matthew@
* Add getprogname() and setprogname() to ease slackers^porters' work.ajacoutot2013-05-311-9/+10
| | | | | | | | | Man page adapted from FreeBSD and NetBSD. Bump libc minor now (there will be more upcoming changes). input from tedu@ get it in deraadt@
* add shm_open and friends which i have been told ports programs wouldtedu2013-05-311-3/+5
| | | | | like to use. ok deraadt guenther
* Implement fdatasync() as a wrapper around fsync()matthew2013-04-151-2/+3
| | | | ok guenther, deraadt, jmc
* remove tahoe-specific makefile machinery, no such hardware is known to bemiod2012-09-151-13/+1
| | | | | in working condition anymore (assuming there would be interest in running on it).
* new clean-room manpages for posix_spawn, unencumbered by any POSIX bullshit.espie2012-04-111-8/+10
| | | | | | "just commit it" deraadt@ (nits to be fixed soon)
* Add dirfd() as a function to libc per POSIX requirement; dirfd() macromatthew2012-03-221-2/+2
| | | | | | to be pruned later when DIR is made an opaque type. ok guenther@; prodding by brad@ for VLC and other ports
* Implement execvpe(3) and posix_spawn(3) and family. Based onmatthew2012-03-211-5/+21
| | | | | | | | FreeBSD's implementation via Frank Denis, with various cleanups and tweaks by me. ok deraadt@, guenther@; discussions and tweaks from many others jmc@ promises to help me further with the man pages in tree
* Add (rough draft) documentation for fdopendir(3) and the 15 newmatthew2011-07-181-2/+2
| | | | | | | XXXat(2) system calls from POSIX 2008. Editing will be done in tree. General style discussed with jmc@, schwarze@, and deraadt@ ok jmc@
* Move fabs(3) manual page from libm to libc, for consistency. Themartynas2011-07-081-4/+5
| | | | modf(3), frexp(3), ldexp(3), fpclassify(3) pages are in libc, too.
* Revert (leaving the complex math part alone). Some stuff is dependingmartynas2011-07-081-5/+8
| | | | | on this historical behavior; so we're stuck in this stupid situation. No cookie for me.
* Move fabs(3), frexp(3), and modf(3) to libm--nothing has been usingmartynas2011-07-081-8/+5
| | | | them in libc for a very long time. OK guenther@.
* Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependentmiod2010-02-031-3/+3
| | | | | | | files or directories when applicable. The inspiration and name of MACHINE_CPU come from NetBSD, although the way to provide it to Makefiles is completely different. ok kettenis@
* More shrinkage, a bit for ramdisks but mostly for static binaries:guenther2009-11-181-3/+5
| | | | | | | | | | | | | | | | | - wrap with #ifndef NO_LOG_BAD_DNS_RESPONSES libc code that uses p_class() and p_type() for diagnostics, then add that define to libstub to avoid pulling in res_debug_syms.o - split rcmd() and ruserok() into separate files, as nothing uses both - split readdir_r() to its own file - split syslog_r() from syslog(), as the latter needs localtime(); many binaries no longer need to pull in all the time code after this; switch from usleep() to nanosleep() while we're at it (The profit of analysis of -Wl,-M,--cref output) Chops 888kB from /bin and /sbin on i386 ok deraadt@, miod@
* tweak previous;jmc2009-06-021-3/+4
|
* Split getpw{nam,uid} off into their own man page. Hopefully, thismillert2009-06-011-4/+4
| | | | | will help people understand that endpwent() is not normally needed. OK deraadt@ jmc@
* remove from gen so that lint doesn't check gen if assembly versionsmartynas2009-04-211-2/+2
| | | | are available. spotted by theo
* - ldexp implementation has issues. switch to the one from libmmartynas2009-04-191-4/+4
| | | | | | - remove frexp in hppa64, cloned from hppa - move generic ieee754 implementations of modf and ldexp to gen ok kettenis@, "looks good" millert@
* - document and mlink frexpf, ldexpf, modff added 13 years agomartynas2008-12-121-1/+4
| | | | | - document frexpl, ldexpl added recently a tweak and ok jmc@
* - man pages for fpclassify, isfinite, isinf, isnan, isnormal, signbit,martynas2008-07-291-15/+19
| | | | | | | | | | | | mostly from freebsd - also describe deprecated aliases for isinff, isnanf, finite, finitef - describe behavior on vax - add mlinks for finite, finitef, isfinite, isinf, isinff, isnan, isnanf, isnormal, signbit - add man pages for isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered; from freebsd looked over by jmc@, it's better for him to work on when they are in tree
* - move isinf, isnan dups to gen, since most is ieee 754martynas2008-07-241-8/+9
| | | | | | | | | | | | | | | | - is{inf,nan} should be macros for real-floating, so rename to __is{inf,nan}, per C99 - implement C99 __fpclassify(), __fpclassifyf(), __isfinite(), __isfinitef(), __isnormal(), __isnormalf(), __signbit(), __signbitf() - long functions added, but not yet enabled, till ieee.h is fixed - implement vax equivalents of the functions - reimplement isinff, isnanf in a better way, and move to libc - add qnan bytes for all archs - bump major man pages will follow ok millert@. arm bits looked over by drahn@ discussed w/ theo, who showed the right direction, to put these functions in libc
* implement getpwnam_r() and getpwuid_r() -- very nearly a rewrite of thederaadt2008-06-241-1/+2
| | | | entire file. much help from kurt, and tested by many
* move statvfs.c to gen, since it is not a syscall; ok deraadt@otto2008-03-221-7/+8
|
* remove traces of non-existent getfstype() function;jmc2005-10-031-2/+2
| | | | ok krw@ deraadt@
* add missing MLINK for strnunvis.3, introduced -r1.14;jmc2005-10-021-2/+3
|
* Replace broken frexp() with a working one from FreeBSD. There'smillert2005-02-011-2/+2
| | | | | | no need to have a copy for each platform with ieee floating point, only vax needs a special version (which probably has similar bugs). OK and with help from otto@
* do not double login_cap.c; tholoderaadt2004-02-011-2/+2
|
* build ftw and nftwmillert2003-07-211-18/+21
|
* Implement isfdtype(3) as per the POSIX.1g draft; requested by David Hillmillert2002-10-161-11/+11
|
* use weak aliases whenever is possible; millert@ ok.fgsch2002-06-081-3/+2
|