summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
Commit message (Collapse)AuthorAgeFilesLines
* Remove whitespace at EOL.Dima Dorfman2001-07-1514-35/+35
| | | | Notes: svn path=/head/; revision=79754
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-105-5/+5
| | | | Notes: svn path=/head/; revision=79531
* mdoc(7) police: eliminate -ww warnings.Ruslan Ermilov2001-07-091-2/+2
| | | | Notes: svn path=/head/; revision=79461
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-092-2/+0
| | | | Notes: svn path=/head/; revision=79454
* mdoc(7) police: mark NULL with .Dv.Ruslan Ermilov2001-07-041-8/+24
| | | | Notes: svn path=/head/; revision=79200
* mdoc(7) police: the BUGS section should go after HISTORY and AUTHORS.Dima Dorfman2001-06-241-6/+6
| | | | Notes: svn path=/head/; revision=78727
* The fact that phk wrote this is not a bug!Dima Dorfman2001-06-241-5/+2
| | | | Notes: svn path=/head/; revision=78726
* Reword a sentence to make it proper English.Dima Dorfman2001-06-241-1/+1
| | | | Notes: svn path=/head/; revision=78706
* urandom(4) -> random(4) in comments.Dima Dorfman2001-06-072-2/+2
| | | | | | | | | | PR: 27858 Submitted by: Yoshihiro Koya <Yoshihiro.Koya@math.yokohama-cu.ac.jp> Reviewed by: md5(1) Approved by: markm Notes: svn path=/head/; revision=77851
* urandom(4) -> random(4)Dima Dorfman2001-06-072-4/+4
| | | | | | | | | PR: 27858 Submitted by: Yoshihiro Koya <Yoshihiro.Koya@math.yokohama-cu.ac.jp> Approved by: markm Notes: svn path=/head/; revision=77850
* Add new, from scratch implementation of hsearch() et al that actually works.Ruslan Ermilov2001-05-153-3/+394
| | | | | | | | Obtained from: NetBSD MFC after: 1 month Notes: svn path=/head/; revision=76613
* Grammar nit.Ruslan Ermilov2001-04-271-1/+1
| | | | Notes: svn path=/head/; revision=76061
* Add sranddev.3 to MLINKSAndrey A. Chernov2001-04-231-1/+1
| | | | Notes: svn path=/head/; revision=75864
* Add #include "un-namespace.h"Andrey A. Chernov2001-04-231-0/+1
| | | | Notes: svn path=/head/; revision=75863
* srand*dev() fallback code: change ^getpid() to ^(getpid() << 16) to allowAndrey A. Chernov2001-04-232-2/+2
| | | | | | | change of high word part too to produce more interesting seed distribution. Notes: svn path=/head/; revision=75862
* Add sranddev() since srand() is not vary much with seed, typical timeAndrey A. Chernov2001-04-232-1/+46
| | | | Notes: svn path=/head/; revision=75845
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+1
| | | | Notes: svn path=/head/; revision=74870
* Make tdelete(3), tfind(3), and twalk(3) links to tsearch(3).Dima Dorfman2001-03-151-0/+1
| | | | | | | Approved by: nik Notes: svn path=/head/; revision=74268
* Merge in strtoul.3 rev 1.11 mdoc(7) police changes:David E. O'Brien2001-02-281-2/+3
| | | | | | | | .Nd line broken in rev 1.10 use .Bx for ``BSD'' Notes: svn path=/head/; revision=73234
* mdoc(7) police: fix the .Nd line broken in previous revision.Ruslan Ermilov2001-02-281-2/+3
| | | | | | | | | Noticed by: bde Use .Bx for ``BSD''. Notes: svn path=/head/; revision=73222
* Use formula with better random distribution for rand()Andrey A. Chernov2001-02-271-0/+26
| | | | | | | | | Even better formula from random() could not be intetgrated because rand_r() supposed to store its state in the single variable (but table needed for random() algorithm integration). Notes: svn path=/head/; revision=73156
* I accidently deleted an include when I added the $FreeBSD$ so I couldDavid E. O'Brien2001-02-272-0/+4
| | | | | | | check in my changes. Notes: svn path=/head/; revision=73155
* Impliment the ISO-C99 strto[u]ll()David E. O'Brien2001-02-277-175/+111
| | | | | | | and rewrite strto[u]q() in terms of it. Notes: svn path=/head/; revision=73152
* .St -ansiC -> .St -isoCRuslan Ermilov2001-02-2619-19/+19
| | | | Notes: svn path=/head/; revision=73088
* Update unused __dtoa prototypes to match reality.Tor Egge2001-02-252-3/+3
| | | | Notes: svn path=/head/; revision=73021
* Remove freelists managed by Balloc/Bfree.Tor Egge2001-02-152-64/+23
| | | | | | | | | | | Change __dtoa to not free the string it allocated the previous time it was called. The caller now frees the string after usage if appropiate. PR: 15070 Reviewed by: deischen Notes: svn path=/head/; revision=72523
* "Cross references in the SEE ALSO section should be sorted by sectionRuslan Ermilov2001-02-121-2/+2
| | | | | | | | number, and then placed in alphabetical order and comma separated.", mdoc.samples(7) said. Notes: svn path=/head/; revision=72401
* mmap(3) -> mmap(2).Ruslan Ermilov2001-02-121-2/+2
| | | | Notes: svn path=/head/; revision=72400
* Include mmap(2) in the list of memory allocation functions.Nik Clayton2001-02-111-2/+10
| | | | | | | Reviewed by: hackers Notes: svn path=/head/; revision=72369
* .Xr to mmap.Nik Clayton2001-02-111-1/+2
| | | | Notes: svn path=/head/; revision=72368
* mdoc(7) police: mark LC_NUMERIC with .Dv.Ruslan Ermilov2001-02-102-3/+5
| | | | Notes: svn path=/head/; revision=72313
* Note that decimal point taken from localeAndrey A. Chernov2001-02-101-0/+3
| | | | Notes: svn path=/head/; revision=72301
* Note the fact that decimal point taken from locale (according to SUSv2)Andrey A. Chernov2001-02-101-0/+2
| | | | Notes: svn path=/head/; revision=72288
* Use decimap_point from localeconv() instead of hardcoded '.'Andrey A. Chernov2001-02-101-1/+4
| | | | | | | Obtained from: inspired by NetBSD strtod Notes: svn path=/head/; revision=72287
* Backout previous commit. Use of spinlocks was not approved.Tor Egge2001-02-092-43/+35
| | | | | | | PR: 15070 Notes: svn path=/head/; revision=72254
* Protect freelists managed by Balloc/Bfree with a spinlock.Tor Egge2001-02-082-35/+45
| | | | | | | | | | Change __dtoa to not free the string it allocated the previous time it was called. The caller now frees the string after usage if appropiate. PR: 15070 Notes: svn path=/head/; revision=72179
* mdoc(7) police: Change -filled displays (which just happenRuslan Ermilov2001-02-071-1/+1
| | | | | | | | | to be the same as -ragged in the current implementation) to -ragged. With mdocNG, -filled displays produce the correct output, formatted and justified to both margins. Notes: svn path=/head/; revision=72126
* Fixed C error(s) in synopsis. Many were hiding under mdoc errors.Bruce Evans2001-02-051-1/+1
| | | | Notes: svn path=/head/; revision=72047
* Remove a sizeof(void *) == sizeof(int) assumption.Poul-Henning Kamp2001-02-041-7/+7
| | | | | | | Submitted by: Loren James Rittle <rittle@latour.rsch.comm.mot.com> Notes: svn path=/head/; revision=71987
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-016-7/+7
| | | | Notes: svn path=/head/; revision=71895
* Remove _THREAD_SAFE and make libc thread-safe by default byDaniel Eischen2001-01-246-31/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adding (weak definitions to) stubs for some of the pthread functions. If the threads library is linked in, the real pthread functions will pulled in. Use the following convention for system calls wrapped by the threads library: __sys_foo - actual system call _foo - weak definition to __sys_foo foo - weak definition to __sys_foo Change all libc uses of system calls wrapped by the threads library from foo to _foo. In order to define the prototypes for _foo(), we introduce namespace.h and un-namespace.h (suggested by bde). All files that need to reference these system calls, should include namespace.h before any standard includes, then include un-namespace.h after the standard includes and before any local includes. <db.h> is an exception and shouldn't be included in between namespace.h and un-namespace.h namespace.h will define foo to _foo, and un-namespace.h will undefine foo. Try to eliminate some of the recursive calls to MT-safe functions in libc/stdio in preparation for adding a mutex to FILE. We have recursive mutexes, but would like to avoid using them if possible. Remove uneeded includes of <errno.h> from a few files. Add $FreeBSD$ to a few files in order to pass commitprep. Approved by: -arch Notes: svn path=/head/; revision=71579
* Prepare for mdoc(7)NG.Ruslan Ermilov2001-01-161-2/+2
| | | | Notes: svn path=/head/; revision=71097
* mdoc(7) police: Ft/Vt now accept punctuation-type arguments.Ruslan Ermilov2001-01-122-6/+6
| | | | Notes: svn path=/head/; revision=70974
* Fixed typo not fixed in previous revision.Ruslan Ermilov2000-12-291-1/+1
| | | | Notes: svn path=/head/; revision=70482
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-295-4/+5
| | | | Notes: svn path=/head/; revision=70481
* mdoc(7) police: removed history info from the .Os FreeBSD call.Ruslan Ermilov2000-12-141-1/+1
| | | | Notes: svn path=/head/; revision=70015
* Add `_PATH_DEVZERO'.David E. O'Brien2000-12-091-1/+2
| | | | | | | Use _PATH_* where where possible. Notes: svn path=/head/; revision=69793
* The parameter that contains valid options is "optstring", not "optarg".Matthew Hunt2000-11-281-1/+1
| | | | Notes: svn path=/head/; revision=69329
* Make it possible to override the function which writes messages toPoul-Henning Kamp2000-11-262-18/+32
| | | | | | | | | | stderr in case of warnings and errors. Rename malloc_options to have a leading underscore, I belive I have been told that is more correct namespace wise. Notes: svn path=/head/; revision=69201
* mdoc(7) police: Er macro usage cleanup.Ruslan Ermilov2000-11-221-2/+2
| | | | Notes: svn path=/head/; revision=69051