summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
Commit message (Collapse)AuthorAgeFilesLines
* Grammar nit.ru2001-04-271-1/+1
|
* Add sranddev.3 to MLINKSache2001-04-231-1/+1
|
* Add #include "un-namespace.h"ache2001-04-231-0/+1
|
* srand*dev() fallback code: change ^getpid() to ^(getpid() << 16) to allowache2001-04-232-2/+2
| | | | change of high word part too to produce more interesting seed distribution.
* Add sranddev() since srand() is not vary much with seed, typical timeache2001-04-232-1/+46
|
* MAN[1-9] -> MAN.ru2001-03-271-1/+1
|
* Make tdelete(3), tfind(3), and twalk(3) links to tsearch(3).dd2001-03-151-0/+1
| | | | Approved by: nik
* Merge in strtoul.3 rev 1.11 mdoc(7) police changes:obrien2001-02-281-2/+3
| | | | | .Nd line broken in rev 1.10 use .Bx for ``BSD''
* mdoc(7) police: fix the .Nd line broken in previous revision.ru2001-02-281-2/+3
| | | | | | Noticed by: bde Use .Bx for ``BSD''.
* Use formula with better random distribution for rand()ache2001-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).
* I accidently deleted an include when I added the $FreeBSD$ so I couldobrien2001-02-272-0/+4
| | | | check in my changes.
* Impliment the ISO-C99 strto[u]ll()obrien2001-02-277-175/+111
| | | | and rewrite strto[u]q() in terms of it.
* .St -ansiC -> .St -isoCru2001-02-2619-19/+19
|
* Update unused __dtoa prototypes to match reality.tegge2001-02-252-3/+3
|
* Remove freelists managed by Balloc/Bfree.tegge2001-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
* "Cross references in the SEE ALSO section should be sorted by sectionru2001-02-121-2/+2
| | | | | number, and then placed in alphabetical order and comma separated.", mdoc.samples(7) said.
* mmap(3) -> mmap(2).ru2001-02-121-2/+2
|
* Include mmap(2) in the list of memory allocation functions.nik2001-02-111-2/+10
| | | | Reviewed by: hackers
* .Xr to mmap.nik2001-02-111-1/+2
|
* mdoc(7) police: mark LC_NUMERIC with .Dv.ru2001-02-102-3/+5
|
* Note that decimal point taken from localeache2001-02-101-0/+3
|
* Note the fact that decimal point taken from locale (according to SUSv2)ache2001-02-101-0/+2
|
* Use decimap_point from localeconv() instead of hardcoded '.'ache2001-02-101-1/+4
| | | | Obtained from: inspired by NetBSD strtod
* Backout previous commit. Use of spinlocks was not approved.tegge2001-02-092-43/+35
| | | | PR: 15070
* Protect freelists managed by Balloc/Bfree with a spinlock.tegge2001-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
* mdoc(7) police: Change -filled displays (which just happenru2001-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.
* Fixed C error(s) in synopsis. Many were hiding under mdoc errors.bde2001-02-051-1/+1
|
* Remove a sizeof(void *) == sizeof(int) assumption.phk2001-02-041-7/+7
| | | | Submitted by: Loren James Rittle <rittle@latour.rsch.comm.mot.com>
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-016-7/+7
|
* Remove _THREAD_SAFE and make libc thread-safe by default bydeischen2001-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
* Prepare for mdoc(7)NG.ru2001-01-161-2/+2
|
* mdoc(7) police: Ft/Vt now accept punctuation-type arguments.ru2001-01-122-6/+6
|
* Fixed typo not fixed in previous revision.ru2000-12-291-1/+1
|
* Prepare for mdoc(7)NG.ru2000-12-295-4/+5
|
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-141-1/+1
|
* Add `_PATH_DEVZERO'.obrien2000-12-091-1/+2
| | | | Use _PATH_* where where possible.
* The parameter that contains valid options is "optstring", not "optarg".mph2000-11-281-1/+1
|
* Make it possible to override the function which writes messages tophk2000-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.
* mdoc(7) police: Er macro usage cleanup.ru2000-11-221-2/+2
|
* mdoc(7) police: use certified section headers wherever possible.ru2000-11-172-2/+2
|
* Use Fx macro wherever possible.ru2000-11-142-2/+5
|
* Fixed typos.ru2000-11-061-4/+4
|
* Back out previous commit (MLINK malloc.conf.5 -> malloc.3).eivind2000-10-291-1/+0
| | | | | | This did not work correctly with whatis(1). Issue brought up by: mpp
* Add link malloc.conf.5 -> malloc.3eivind2000-10-291-0/+1
|
* Oops, un-spam this file - the last commit was an accident.brian2000-09-201-1/+0
| | | | Pointed out by: phk
* Only realloc() environ if we're sure that we know where it came from.brian2000-09-202-5/+5
| | | | | | The recent problems with sshd were due to sshd reassigning `environ' when setenv() thinks it owns it. setenv() subsequently realloc()s the new version of environ and *boom*
* Don't print an error message if the bad option is '?'. This has beenimp2000-09-041-1/+1
| | | | | | | | | in my tree for a long time. bde reviewed this once upon a time and said it was OK, iirc. This also obviates the need to put ? in the optstring argument to preclude the extra warning message which some people think confuses users. When I made my getopt cleanups of a long time ago, this was the compromise reached. I just neglected to commit it until now.
* Turn malloc options "AJ" on by default.phk2000-07-091-2/+2
| | | | | | | | These will be turned off again as we approach 5.0-RELEASE. If you benchmark things, make sure to ln -sf j /etc/malloc.conf to see "true" performance.
* bring in binary search tree code.alfred2000-07-016-2/+347
| | | | Obtained from: NetBSD
* Fix miscellaneous mdoc macro argument limit infringements.sheldonh2000-05-091-1/+1
| | | | | PR: 18465 Reported by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
OpenPOWER on IntegriCloud