summaryrefslogtreecommitdiffstats
path: root/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* '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
|
* asyncronous -> asynchronous;jmc2007-05-311-2/+2
| | | | from Chad Dougherty, documentation/5493
* add a new kevent filter type for timers. this allows processes to createtedu2007-05-301-1/+17
| | | | | | a series of oneshot or periodic timers. capped to a global limit. from freebsd via brad. ok art pedro
* when producing a v1 label, set the version!!!!otto2007-05-291-0/+1
|
* Updated disklabel format to support larger disks and partitions. Weotto2007-05-291-5/+7
| | | | | | | | | | | free room in struct partition by packing fragment size and fragments/block more tighlty and use the resulting space to make offset and size 48 bits. For the disk part we use spare fields in struct disklabel. Kernel converts in-mem copy of the on-disk label if needed, disklabel(8) writes new version. We are careful to only change fields not used by bootloaders. Conception of basic scheme by deraadt. ok deraadt@ krw@
* mention new option 2 for nosuidcoredumptedu2007-05-291-1/+4
|
* tweaks; ok thibjmc2007-05-281-8/+5
|
* cleanup the nfssvc() system call.thib2007-05-271-137/+15
| | | | | | | | | | | | | | | | | | | | | * Remove alot of dead kerberos code like the options for NFSSVC_AUTHIN and NFSSVC_AUTHFAIL wich where originally to get the kerberos auth info into the kernel. (that hasnt worked for long, if ever.) Also remove some helper functions and associated goo, however theres still alot of it left. * Remove NFSSVC_BIOD, biod's where replaced with kernel threads a long time ago. * NFSSVC_MNTD wich was is NQNFS leftover. Update the man page and nfsd(8). nfssvc(2) besides being special has only one user in the tree nfsd(8), therefore no library bumps are needed. (discussed with deraadt@). ok beck@, "go a head" deraadt@ Tested by ckuethe@
* "boundries" -> "boundaries" in various comments. Started by Diego Casati.krw2007-05-252-4/+4
|
* Remove unnecessary locking. There is no need for serializing calls tokurt2007-05-232-27/+5
| | | | | these functions and each use of the fd is already protected. No externally visible changes. okay marc@ millert@
* add EOVERFLOW and ECANCELED here too.jasper2007-05-211-1/+6
| | | | reminded and ok jmc@
* Add ECANCELED and EOVERFLOW. For canceled (async) operations and conversionjasper2007-05-211-1/+4
| | | | | | | | | | overflows, respectively. (EOVERFLOW from espie@) don't bump libc, as there are currently no functions that use them, but it doesn't hurt to have them around. as discussed with deraadt@, espie@, miod@ and otto@ ok deraadt@ espie@ miod@ otto@
* Typos.ray2007-05-201-3/+3
| | | | OK jmc@.
* Remove no-op code. From tbert.ray2007-05-181-3/+1
| | | | OK moritz@ and jaredy@
* Don't save strlen results in an int. Remove a variable that's usedray2007-05-171-5/+2
| | | | | | only once while here. From tbert. OK jaredy@.
* LSRCS should refer to the C source version of asm files 'put it in' deraadt@drahn2007-05-172-4/+4
|
* Improve reentrancy by not using global variable. Removes tworay2007-05-171-31/+11
| | | | | | wrappers around fopen/fclose. From tbert. OK millert@, tedu@, and itojun@.
* Unbreak libc on arm. -mojmaja2007-05-171-2/+2
|
* Wrap some functions, labels, and variables in #ifdefs correspondingray2007-05-163-3/+11
| | | | | | | to #ifdefs where they are used. Found by lint by bret dot lambert at gmail. OK deraadt@.
* fix some lint 'xxx used, but not defined' warnings by properly addingotto2007-05-156-7/+19
| | | | stuff to LSRCS