summaryrefslogtreecommitdiffstats
path: root/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add lint stubs for the longjmp family of functions which are defined inotto2007-09-095-3/+66
| | | | assembly on all platforms. ok deraadt@
* Silence erroneous "environ used, but not defined" lint warning byotto2007-09-092-3/+10
| | | | providing a stub. ok deraadt@
* typo; ok deraadt@otto2007-09-081-2/+2
|
* it's MAXNAMLEN, not MAXNAMELEN; spotted by Igor Zinovi.otto2007-09-081-5/+5
|
* IPv6 is not an ARPA protocol;jmc2007-09-071-3/+3
| | | | | from Robert Elz, netbsd-bugs pr#36933 ok otto deraadt
* Say NUL when referring to \0cloder2007-09-071-3/+3
|
* _xpg4_setrunelocale() returns an errno(2) value in the failuremoritz2007-09-061-2/+2
| | | | | | | case and 0 if the locale was found. So checking against -1 makes no sense. ok millert@
* Add missing header to avoid warningchl2007-09-051-1/+2
| | | | ok millert@ ray@
* Fix debugging code, which tried to print the netgroup namemoritz2007-09-051-3/+3
| | | | | | using the return value of _ng_print(), which returns void. ok millert@
* no need to talk about bits; ok millert jmcderaadt2007-09-051-3/+3
|
* Update free(3) section--we use mmap()/munmap(), not brk().millert2007-09-031-4/+6
| | | | Based on a diff from Mike Belopuhov. OK jmc@
* remove trailing whitespace;jmc2007-09-031-2/+2
|
* crank libc and libstdc++ majorsmillert2007-09-031-1/+1
|
* Add __cxa_atexit() support for gcc3. This provides support for shared object destructors called at dlclose() time. Inspired by similar changes in FreeBSD and NetBSD.millert2007-09-034-30/+108
|
* Add ENOMSG and EIDRM; from jsg@millert2007-09-035-46/+27
|
* add recaloc(3)millert2007-09-033-20/+62
|
* add memrchr(3)millert2007-09-033-5/+63
|
* use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt2007-09-0213-27/+27
|
* Update to tzcode2007f grom elsie.nci.nih.gov; no actual code changesmillert2007-08-222-10/+35
|
* 'shall be' was changed to 'is' in sysctl.3#rev1.164, now let's change it to 'are'; ok jmc@; approved deraadt@cnst2007-08-141-3/+3
|
* Let realloc handle NULL. Initial diff from Charles Longeau.ray2007-08-082-8/+5
| | | | OK millert and jaredy.
* Clarify the example about avoiding overflow. OK ray@ deraadt@millert2007-08-081-3/+3
|
* Show how to use strcspn(3) to trim newlines.ray2007-08-082-9/+19
| | | | OK jmc and millert.
* realloc can handle NULL values. From Charles Longeau.ray2007-08-082-14/+6
| | | | OK jaredy.
* Let realloc handle NULL pointers, plus a spacing fix.ray2007-08-071-8/+4
| | | | OK millert and moritz.
* /*FALLTHRU*/ -> /* FALLTHROUGH */ray2007-08-051-2/+2
|
* - this page describes getpgid.2 toojmc2007-07-211-4/+10
| | | | | | - describe when "pid" is zero; from Kristaps Dzonsons ok millert
* kern.timecounter.timestepwarnings may be altered; from Kristaps Dzonsonsjmc2007-07-191-3/+3
|
* document "pid"; based on a diff from Kristaps Dzonsonsjmc2007-07-171-2/+8
| | | | ok otto
* HW_SENSORS was never really a 'struct', and nowadays it is definitely a 'node'cnst2007-07-161-2/+2
|
* under HW_SENSORS, mention <sys/sensors.h>, similarly to KERN_SYSVIPC.*; ok jmccnst2007-07-161-2/+13
|
* fix typo: s/sensorsdev/sensordev/cnst2007-07-151-4/+4
|
* add a STANDARDS section, as requested by itojun;jmc2007-07-111-2/+8
| | | | ok otto
* Reference limits.h, not sys/param.h since we document using PATH_MAXmillert2007-07-061-3/+3
| | | | OK otto@
* from Nicholas Marriott:jmc2007-07-031-6/+9
| | | | | | ttyname_r returns an error number, rather than setting errno. ok millert
* from ginsbach@netbsd, -r1.18:jmc2007-07-031-2/+7
| | | | | | | | Document that getopt_long(3) can and will accept unique abbreviated long option names. This feature has been present since getopt_long(3) was first released in NetBSD 1.5. This is also standard GNU getopt_long(3) behavior. ok millert
* Update to tzcode2007f from elsie.nci.nih.govmillert2007-06-308-44/+110
|
* Document behavior when no conversion could be performed. Adaptedmillert2007-06-292-5/+17
| | | | from FreeBSD. With help from jmc@.
* It seems st_size is not always a good estimator for the number ofray2007-06-261-5/+7
| | | | | | | | | | | | | | | | directory entries. ZFS, for instance, sets st_size to the number of entries. Use the same algorithm for the initial estimate but keep a minimum to prevent a divide by zero. When the buffer is filled, instead of re-using the same flawed algorithm, double the buffer size. Also add check for integer overflow. Bug reported by Ed Ravin, ZFS testing environment provided by Bryan Allen. OK millert
* The `len' argument is guaranteed to be > 0 upon successful completion.moritz2007-06-211-3/+3
| | | | ok jmc@ ray@ millert@
* ``dot'' notationjmc2007-06-121-19/+9
| | | | | | | is more readable than `.' notation zap some silly .Tn whilst here;
* Document the Bluetooth network protocols and mention that there is AF_BLUETOOTHuwe2007-06-111-2/+4
|
* convert some displays to lists, since the format is more suitable;jmc2007-06-071-16/+22
| | | | plus a little cleanup;
* _FD_LOCK/UNLOCK() is libpthread specific and not needed for librthread, sokurt2007-06-0512-97/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | isolate its usage to libpthread only and replace with generic non-static mutex support in the one place it is needed: - remove _FD_LOCK/UNLOCK from lseek and ftruncate in libc and make the functions weak so that libpthread can override with its own new versions that do the locking. - remove _thread_fd_lock/unlock() weak functions from libc and adjust libpthread for the change. - add generic _thread_mutex_lock/unlock/destroy() weak functions in libc to support non-static mutexes in libc and add libpthread and librthread implementations for them. libc can utilize non-static mutexes via the new _MUTEX_LOCK/UNLOCK/DESTROY() macros. Actually these new macros can support both static and non-static mutexes but currently only using them for non-static. - make opendir/closedir/readdir/readdir_r/seekdir/telldir() thread-safe for both thread libraries by using a non-static mutex in the struct _dirdesc (typedef DIR), utilizing it in the *dir functions and remove remaining and incorrect _FD_LOCK/UNLOCK() use in libc. - add comments to both thread libraries to indicate libc depends on the current implementation of static mutex initialization. suggested by marc@ - major bump libc and libpthread due to function removal, structure change and weak symbol conversions. okay marc@, tedu@
* remove ipx-related stuff. objections nobody. major bump by kurt in a fewhenning2007-06-054-385/+3
|
* one more IPX removal; ok henningjmc2007-06-051-4/+3
|
* more adosfs removal;jmc2007-06-011-14/+2
|
* mark the non-handling of 48 bits units with XXXotto2007-06-011-0/+3
|
* convert to new .Dd format;jmc2007-05-31417-834/+834
|
* Xr clock_gettime. pointed there by art. ok jmc.kjell2007-05-311-1/+2
|