summaryrefslogtreecommitdiffstats
path: root/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix typos.matthew2012-06-151-2/+2
| | | | ok pig(6)
* Document mbsnrtowcs() and wcsnrtombs().matthew2012-06-073-117/+150
| | | | ok jmc
* Add support for mbsnrtowcs() and wcsnrtombs() to libc.matthew2012-06-065-175/+204
| | | | Bulk build test by naddy.
* Update STANDARDS section for a few <stdlib.h> functionsguenther2012-06-024-14/+35
| | | | | | Update SYNOPSIS for setkey() to show it's in <stdlib.h> ok jmc@, millert@
* Fix document titles.lteo2012-06-012-6/+6
| | | | ok haesbaert jmc henning
* Improve standards conformance: ecvt(), fcvt(), gcvt(), mktemp(), ttyslot(),guenther2012-06-014-10/+21
| | | | | | | and valloc() are not in the current version, while posix_memalign() mkstemp(), and mkdtemp() are, and setstate()'s argument has lost a bogus 'const'. ok millert@ jmc@ espie@ kettenis@; ports build testing by naddy@
* Don't misleadingly suggest that fpos_t only needs to be a complex typematthew2012-05-221-4/+2
| | | | | on non-UNIX systems: it's a complex type on Linux, and to be C99 compliant we'll probably need it to be a complex type too.
* Document that ftell() may return EOVERFLOW.matthew2012-05-221-6/+31
| | | | Diff from Tim van der Molen.
* Fix ftell() to return EOVERFLOW if the file offset is greater thanmatthew2012-05-212-23/+10
| | | | | | | LONG_MAX. Also, remove an Alpha-specific optimization that only saves a couple of bytes of code size. ok millert, guenther
* More sysconf(3)-y and pathconf(3)-y goodness from Brad.matthew2012-05-142-30/+232
| | | | ok guenther, millert (and me); bulk build test by naddy
* Add strnlen() to libkern.matthew2012-04-262-4/+8
| | | | ok deraadt
* fix a few warningseric2012-04-254-16/+22
|
* document address truncation; from Steffen Daode Nurpmesojmc2012-04-241-2/+9
| | | | ok deraadt matthew millert
* Document that getpeereid() works for SOCK_SEQPACKET sockets too.matthew2012-04-221-3/+5
|
* use "an addrinfo", not "a addrinfo". ok jmcsthen2012-04-201-3/+3
|
* rearrange DESCRIPTION somewhat to make this page more readable;jmc2012-04-201-39/+40
| | | | from Lawrence Teo
* rely on the compiler giving us a built-in alloca. any new architecturederaadt2012-04-1911-219/+14
| | | | | or compiler we use will. ok millert
* Create a new resolver for each thread. It will be done differentlyeric2012-04-151-14/+24
| | | | | eventually, but it's enough for now to make the blocking API fully thread-safe without locking.
* calling getnameinfo here is a bad idea. use inet_ntop.eric2012-04-151-6/+9
|
* tweak previous;jmc2012-04-151-16/+17
|
* only define DEBUG internallyeric2012-04-143-9/+10
|
* Import asr, an experimental async resolver implementation.eric2012-04-1416-0/+7184
| | | | | | | The idea is to eventually replace the existing resolver with something better. Time to start working on it in tree. ok deraadt@
* tweak;jmc2012-04-121-2/+2
|
* tweak previous;jmc2012-04-121-5/+6
|
* alloca.c cannot be usedderaadt2012-04-1213-34/+12
|
* alloca is NOT machine dependent; it has exactly the samederaadt2012-04-121-7/+3
| | | | | effective result. its use is NOT discouraged -- it is not common, but when you need it, there is nothing else that will do.
* Since threads are becoming more common, this "work around thederaadt2012-04-121-136/+0
| | | | | | compiler not doing alloca in C using malloc" is unworkable. It is not safe, and we can never use it. ok guenther kurt
* more rfork mop-upderaadt2012-04-124-30/+9
|
* mmap(2) updatedariane2012-04-121-50/+72
| | | | | | | | Add that len=0 will yield failure with EINVAL. While here, rephrase some of the text. Get rid of MAP_SWAP: its future came and went but nothing came of it. Lots of hackroom input; including feedback from jmc.
* remove rfork(); ok guenther miodderaadt2012-04-1217-784/+40
|
* crank major for sh gcc4 switchjsg2012-04-121-1/+1
|
* kill lfs system call lines and libc stubsderaadt2012-04-121-2/+1
|
* New system call: getdtablecount(2) returns the number of filederaadt2012-04-122-37/+73
| | | | | descriptors the process currently has open. ok guenther miod gilles ...
* document getdelim() and getline(), and a grammar fix whilst here;jmc2012-04-121-4/+6
| | | | | | from Jan Stary ok fgsch
* Mark outermost frame such that backtraces in thread terminate atkettenis2012-04-111-2/+3
| | | | | | __tfork_thread(). ok guenther@
* complete function name.espie2012-04-111-2/+2
| | | | | | | This shit is so silly, length-wise, that it still makes some sense if you forget to write half of it. (noticed by jmc@)
* tweak previous;jmc2012-04-116-44/+36
|
* In sendmsg() permit at most 10% of maxfiles to be in-flightderaadt2012-04-111-2/+7
| | | | | | during CMSG_DATA SCM_RIGHTS fd transfers. If this is exceeded, return EMFILE. ok claudio guenther gilles
* Provide __tfork_thread() for hppa64. This makes libc compile again.jsing2012-04-111-0/+57
| | | | ok miod@
* fuss with detailsespie2012-04-116-31/+36
|
* new clean-room manpages for posix_spawn, unencumbered by any POSIX bullshit.espie2012-04-1111-1096/+333
| | | | | | "just commit it" deraadt@ (nits to be fixed soon)
* Do not pick the network number as alias on entries with no aliaseric2012-04-101-3/+2
| | | | | | defined. ok deraadt@
* Document new KERN_NTHREADS and KERN_MAXTHREAD sysctlsguenther2012-04-101-2/+8
|
* range check st_size before calling calloc()deraadt2012-04-061-3/+7
| | | | ok millert
* Document that openat(), etc are safe to call from a signal handler.matthew2012-04-032-40/+40
| | | | | | While here, recognize that _Exit() and raise() are C functions. ok deraadt@, guenther@, jmc@
* tweak previous;jmc2012-04-031-3/+3
|
* simplify the strlcpy/strlcat manual page substantially. do lessderaadt2012-04-021-70/+58
| | | | | | | | | | | | explaining of "what a C string is", and make it more clear that these functiosn BEHAVE EXACTLY LIKE snprintf with "%s"! (anyone who wants to write a 'strlcpy considered harmful' paper should probably write a 'strlcpy and snprintf considered harmful' paper instead). note to those from other projects reading this commit message: It would be very good if this new manual was picked up in your project. ok jmc millert krw
* fix previous;jmc2012-04-011-1/+2
|
* remind people to think of the poor file descriptorsderaadt2012-04-011-3/+14
| | | | with claudio and jmc
* Bump standards years, as we conform to the new versions tooguenther2012-03-261-4/+4
| | | | ok jmc@