summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
Commit message (Collapse)AuthorAgeFilesLines
* MFC: Remove freelists managed by Balloc/Bfree. Change __dtoa internal API.Tor Egge2001-02-192-64/+25
| | | | | | | PR: 15070 Notes: svn path=/stable/4/; revision=72711
* MFC: Prepare for mdoc(7)NG.Ruslan Ermilov2001-01-161-2/+2
| | | | Notes: svn path=/stable/4/; revision=71105
* MFC: mdoc(7) police: Ft/Vt now accept punctuation-type arguments.Ruslan Ermilov2001-01-122-7/+7
| | | | Notes: svn path=/stable/4/; revision=70976
* MFC: Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-296-8/+9
| | | | Notes: svn path=/stable/4/; revision=70483
* MFC: removed history info from the .Os FreeBSD call.Ruslan Ermilov2000-12-141-1/+1
| | | | Notes: svn path=/stable/4/; revision=70016
* MFC: add /dev/zero and use PATH_* where possible.David E. O'Brien2000-12-111-1/+2
| | | | Notes: svn path=/stable/4/; revision=69839
* MFC: recent mdoc(7) fixes.Ruslan Ermilov2000-12-085-6/+9
| | | | Notes: svn path=/stable/4/; revision=69764
* MFC: Only realloc() environ if we're sure that we know where it came from.Brian Somers2000-09-201-5/+4
| | | | Notes: svn path=/stable/4/; revision=66139
* MFC: Use strtok instead of strsep. Handle links explicitly in remove.Jordan K. Hubbard2000-09-201-1/+1
| | | | | | | Check additional failure case in getopt. Notes: svn path=/stable/4/; revision=66103
* MFC:John Baldwin2000-08-232-8/+2
| | | | | | | | | - Add a missing THREAD_UNLOCK() - Remove allocation failure check from 'A' option, the 'X' option does this as a standalone check now. Notes: svn path=/stable/4/; revision=64967
* MFC: Binary search tree code.John Baldwin2000-08-171-2/+2
| | | | Notes: svn path=/stable/4/; revision=64766
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2000-07-045-0/+345
| | | | Notes: svn path=/stable/4/; revision=62529
* MFC: Typo, update example codeKris Kennaway2000-06-081-8/+3
| | | | Notes: svn path=/stable/4/; revision=61402
* MFC: minor mdoc cleanup.Mike Pritchard2000-05-241-2/+3
| | | | Notes: svn path=/stable/4/; revision=60875
* MFC: Fix miscellaneous mdoc macro argument limit infringements.Sheldon Hearn2000-05-091-1/+1
| | | | Notes: svn path=/stable/4/; revision=60259
* MFC: Use `Er' variable to define first column width in ERRORS section.Alexey Zelkin2000-05-065-5/+5
| | | | Notes: svn path=/stable/4/; revision=60084
* MFC: introduce .Lb macro to libc manpagesAlexey Zelkin2000-04-2226-0/+52
| | | | Notes: svn path=/stable/4/; revision=59521
* MFC: For libc_r, do not create both weak and strong symbols of the sameJason Evans2000-03-181-0/+2
| | | | | | | name. Notes: svn path=/stable/4/; revision=58264
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2000-03-132-254/+0
| | | | Notes: svn path=/stable/4/; revision=57955
* Merge from RELENG_3 (oops):Chris Costello2000-01-291-5/+5
| | | | | | | | resolved_name -> resolved_path resolvedname -> resolved_path Notes: svn path=/head/; revision=56880
* Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(),Jason Evans2000-01-274-18/+17
| | | | | | | | | | | | | | | | | | | | just use _foo() <-- foo(). In the case of a libpthread that doesn't do call conversion (such as linuxthreads and our upcoming libpthread), this is adequate. In the case of libc_r, we still need three names, which are now _thread_sys_foo() <-- _foo() <-- foo(). Convert all internal libc usage of: aio_suspend(), close(), fsync(), msync(), nanosleep(), open(), fcntl(), read(), and write() to _foo() instead of foo(). Remove all internal libc usage of: creat(), pause(), sleep(), system(), tcdrain(), wait(), and waitpid(). Make thread cancellation fully POSIX-compliant. Suggested by: deischen Notes: svn path=/head/; revision=56698
* o Back out rev 1.4 - reallocf() failure clobbers existing `environ'.Ruslan Ermilov2000-01-271-3/+8
| | | | | | | | | | | o Do not override `environ' if realloc() fails, leave it intact. o Set `alloced' only when memory is actually allocated. PR: bin/5604 (2nd part) Reviewed by: bde Notes: svn path=/head/; revision=56676
* Document the memory leak that is inherent in FreeBSD's semanticsArchie Cobbs2000-01-261-0/+15
| | | | | | | | | for getenv()/putenv(). PR: 10341 5604 Notes: svn path=/head/; revision=56652
* Add three-tier symbol naming in support of POSIX thread cancellationJason Evans2000-01-124-18/+25
| | | | | | | | | points. For library functions, the pattern is __sleep() <-- _libc_sleep() <-- sleep(). The arrows represent weak aliases. For system calls, the pattern is _read() <-- _libc_read() <-- read(). Notes: svn path=/head/; revision=55837
* Make example for handling "-##" work and comply with style(9). StillTim Vanderhoek2000-01-061-5/+12
| | | | | | | | | doesn't handle nastier corner cases such as "-j3 -33" correctly. <shrug> PR: docs/12994 (James Howard <howardjp@wam.umd.edu>) Notes: svn path=/head/; revision=55490
* Add history: The reallocf() function first appeared in FreeBSD-3.0.Tim Vanderhoek1999-12-281-0/+5
| | | | | | | | See imp's 199808201619.KAA20970@harmony.village.org in freebsd-hackers (the reallocf.c cvs history mistakenly refers to freebsd-current). Notes: svn path=/head/; revision=55186
* Fixed missing installation of a link to rand_r.3.Bruce Evans1999-12-231-1/+1
| | | | Notes: svn path=/head/; revision=55032
* Document the current behaviour with respect to the handling of errno.Sheldon Hearn1999-12-221-1/+8
| | | | | | | Approved by: phk Notes: svn path=/head/; revision=55006
* Fix handling of trailing :'s to match what other OSes do (spit outJordan K. Hubbard1999-12-171-2/+8
| | | | | | | | | a diagnostis). Submitted by: Guy Harris <gharris@flashcom.net> Notes: svn path=/head/; revision=54713
* Add a cross-reference to fabs(3) man page.Chris Costello1999-12-071-0/+1
| | | | | | | | PR: docs/15337 Submitted by: Bruce A. Mah <bmah@ca.sandia.gov> Notes: svn path=/head/; revision=54274
* TypoKris Kennaway1999-11-151-1/+1
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=53168
* Go to a bit more trouble to make it absolutely clear that malloc(3)Peter Wemm1999-11-121-2/+9
| | | | | | | does not zero the allocated memory. Notes: svn path=/head/; revision=53111
* Change .Fn to .Xr on a couple of lines where abort(3) is referenced.Chris Costello1999-09-251-2/+2
| | | | Notes: svn path=/head/; revision=51667
* Tidy up $Log$ debris.Peter Wemm1999-09-051-32/+2
| | | | Notes: svn path=/head/; revision=50967
* $Header$ -> $FreeBSD$Peter Wemm1999-08-281-1/+5
| | | | Notes: svn path=/head/; revision=50488
* $Id$ -> $FreeBSD$Peter Wemm1999-08-2832-32/+32
| | | | Notes: svn path=/head/; revision=50476
* Various man page cleanup:Mike Pritchard1999-08-151-3/+3
| | | | | | | | | | | | | - Sort xrefs - FreeBSD.ORG -> FreeBSD.org - Be consistent with section names as outlines in mdoc(7) - Other misc mdoc cleanup. PR: doc/13144 Submitted by: Alexy M. Zelkin <phantom@cris.net> Notes: svn path=/head/; revision=49828
* Fix .Xr line for `getpagesize'Chris Costello1999-08-141-2/+2
| | | | Notes: svn path=/head/; revision=49744
* Mention that EXIT_SUCCESS and EXIT_FAILURE are preferred overTim Vanderhoek1999-08-011-1/+7
| | | | | | | sysexits.h-values as exit codes for portable programs. Notes: svn path=/head/; revision=49358
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-1223-0/+23
| | | | | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48794
* Back out previous commit after discussing it with Dmitrij Tejblum.Dag-Erling Smørgrav1999-07-071-4/+0
| | | | Notes: svn path=/head/; revision=48672
* Always set errno to ENOMEM when returning 0 from malloc() or realloc().Dag-Erling Smørgrav1999-07-071-1/+5
| | | | | | | Approved by: phk Notes: svn path=/head/; revision=48670
* Added Posix rand_r function.Wes Peters1999-05-242-5/+74
| | | | Notes: svn path=/head/; revision=47474
* Disable the "Hint" option in phkmalloc as default. Recent VM systemPoul-Henning Kamp1999-03-282-4/+4
| | | | | | | | | | | | | | | changes have made this too expensive. This gains about 1.25% on worldstone on my SMP machine. Swap-less machines, for instance PicoBSDs, and machines which experience page-out trafic, check with top(1), will probably want to reenable this with: ln -s H /etc/malloc.conf Suggested by: alc (&dyson ?) Notes: svn path=/head/; revision=45091
* Correct synopsys: getsubopt is declared in unistd.h, not stdlib.h.Guy Helmer1999-03-021-1/+1
| | | | | | | PR: docs/9376 Notes: svn path=/head/; revision=44388
* fix tabs lost apparently in copy&pasteAndrey A. Chernov1999-02-121-5/+5
| | | | Notes: svn path=/head/; revision=43937
* Clarify format of exit status code. Note when a return code of -1 canJoseph Koshy1999-01-271-4/+8
| | | | | | | | | | be expected. PR: docs/9701 Submitted by: Marc van Kempen <marc@bowtie.nl> Notes: svn path=/head/; revision=43265
* Include mergesort() in description of errors.Robert Nordier1998-11-041-1/+3
| | | | Notes: svn path=/head/; revision=40901
* Drop unused labels.Robert Nordier1998-11-041-2/+2
| | | | Notes: svn path=/head/; revision=40900
* Handle a zero elements argument.Robert Nordier1998-11-041-0/+3
| | | | | | | | PR: 8566 Submitted by: Archie Cobbs <archie@whistle.com> Notes: svn path=/head/; revision=40896