summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
AgeCommit message (Collapse)Author
2014-04-07Add some missing names to the NAME sections.Ingo Schwarze
For inet(3), go the other way, remove some bogus symlinks. Found while testing the new makewhatis(8). ok jmc@
2014-04-03Update Copyright notice; ok otto@ beck@ deraadt@.Ingo Schwarze
This is merely a by-product of figuring out the amount of phk@ code contained herein; i'm not planning to hack on this file.
2014-03-25Poul-Henning Kamp informed me he is allright with this licensing change.Bob Beck
2014-03-18Retire hp300, mvme68k and mvme88k ports. These ports have no users, keepingMiod Vallat
this hardware alive is becoming increasingly difficult, and I should heed the message sent by the three disks which have died on me over the last few days. Noone sane will mourn these ports anyway. So long, and thanks for the fish.
2014-03-16lint is dead (long live the lint!), so stop using it as a cpp conditionalPhilip Guenther
(namespace pollution!) or talking about its opinion on code. ok krw@
2014-01-21Ouch... recommend arc4random, not random.Theo de Raadt
spotted by tedu
2014-01-21obvious .Pa fixes; found with mandocdb(8)Ingo Schwarze
2014-01-20Fix an obvious .Fn/.Fa typo, found while testing mandocdb(8).Ingo Schwarze
2014-01-19Usually, you don't want macros in the .Nd line, so remove instances of .TnIngo Schwarze
marking up words that are not trademarks (ASCII, I/O, NFS, TCP, TELNET). While here, remove .Tn markup from the same words in the body of these pages, too.
2014-01-19Punctuation after macro arguments needs to be in a separate argument.Ingo Schwarze
Found while testing mandocdb(8).
2013-12-28Move atexit(3) into crtbegin.c and certbeginS.c such that we can pass theMark Kettenis
right __dso_handle and have dlopen'ed shared objects run their atexit handlers when they get unloaded. This is what Linux does, and several ports depend on this behaviour (and will crash upon exit without this chang). Based on an earlier diff from matthew@ Tested by ajacoutot@ ok deraadt@
2013-11-12avoid arithetic on void *Theo de Raadt
ok guenther otto
2013-11-01Pull in gdtoa.h instead of declaring __dtoa() and __freedtoa() directlyPhilip Guenther
ok deraadt@
2013-08-14no longer any need to quote macro lines with >9 args;Jason McIntyre
From: Jan Stary
2013-08-01Add linker warnings for rand() and random() and various related functions.Mark Kettenis
ok deraadt@
2013-07-18HISTORY; tweaks and ok sobrado@ jmc@Ingo Schwarze
2013-07-17more library historyIngo Schwarze
facts checked by sobrado@ style tweaks and ok jmc@
2013-06-08Fix parsing of ambiguous options, the whole loop must be processed.Todd C. Miller
From FreeBSD. OK miod@
2013-06-05Move _Exit() from the exit() manpage to the _exit() manpage, as it'sPhilip Guenther
just an alias of the latter. ok matthew@ tedu@
2013-06-05Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarzeTed Unangst
2013-06-02Two small cleanups to atexit: remove unneeded __atexit_invalid, andMatthew Dempsky
move the call_depth decrement so it happens unconditionally and can still return to 0 when called with dso!=NULL. ok millert
2013-04-17surround the error strings with quotes to clarify exactly which stringsTed Unangst
the function is going to return.
2013-04-17the tiniest of style tweaksTed Unangst
2013-04-17add some prototypes, casts, includes, parenthesis, and whatnot toTed Unangst
silence some warnings.
2013-04-05- Add comments regarding copies of these files also in libexec/ld.soKurt Miller
okay guenther@
2013-04-03Update a comment about standards requirementsPhilip Guenther
2013-03-28Switch libc and libm to use strong aliases rather than weak aliasesMartynas Venckus
where appropriate. Among other things makes the symbols consistent across all architectures (notably where ldbl mantissa is 53 bits). While at it, kill unused LINTLIBRARY/PROTOLIB1 cruft which was there to trick lint into recording the right prototypes for aliased functions. Most of the work done at the awesome n2k13 hackathon. Agreed by kettenis@, guenther@, matthew@.
2013-03-15threadsafe random().Ted Unangst
reported by ajacoutot and (much earlier, sorry) by Alexey Suslikov
2013-01-15Don't pull <math.h> just because it can return HUGE_VAL in theMartynas Venckus
corner cases. OK millert@.
2012-12-22Fix bug in random offset introduced in rev 1.143; random range wasOtto Moerbeek
expanded, but not enough due to precedence error. Spotted by Thorsten Glaser.
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
ok guenther millert kettenis
2012-12-05no need for .Pp before lists;Jason McIntyre
2012-12-04Rewritten posix_openpt manual that doesn't include any of the POSIXTodd C. Miller
text. OK deraadt@
2012-12-04Use "path name" not "pathname".Todd C. Miller
2012-12-03Simple emulation of POSIX pty APIs posix_openpt(), ptsname(),Todd C. Miller
grantpt() and unlockpt() using /dev/ptm. Man pages from FreeBSD. OK kettenis@ deraadt@ beck@ ajacoutot@ naddy@
2012-11-18Ensure that the base provided to strtol(3) is between 2 and 36 inclusive,Joel Sing
or the special value of 0. ok deraadt@ otto@
2012-11-10Per POSIX, fix raise() and abort() to send the signal to the current thread.Philip Guenthe
Should make coredumps from abort() easier to debug too. ok kurt@
2012-11-02Add a new malloc option 'U' => "Free unmap" that does the guarding/Damien Miller
unmapping of freed allocations without disabling chunk randomisation like the "Freeguard" ('F') option does. Make security 'S' option use 'U' and not 'F'. Rationale: guarding with no chunk randomisation is great for debugging use-after-free, but chunk randomisation offers better defence against "heap feng shui" style attacks that depend on carefully constructing a particular heap layout so we should leave this enabled when requesting security options.
2012-09-23Make setenv(3) consistent with unsetenv(3), giving EINVAL if passedJeremy Evans
an empty name, NULL pointer, or a name containing an '=' character. OK millert@, guenther@
2012-09-16remove some wacky Xo/Xc;Jason McIntyre
2012-09-15remove tahoe-specific makefile machinery, no such hardware is known to beMiod Vallat
in working condition anymore (assuming there would be interest in running on it).
2012-09-15Document that strtod functions accept INF, NAN, NAN(). From Michal Mazurek.Martynas Venckus
2012-09-13specify the bounds of the dst to strlcat (both values were static andTheo de Raadt
equal, but it is more correct) from Michal Mazurek
2012-09-13Fix precedence bug (& has lower precedence than !=).Paul Irofti
Okay otto@. Found by Michal Mazurek <akfaew at jasminek dot net>, thanks!
2012-09-04remove lint leftovers; ok guenther@Okan Demirmen
2012-07-09use PAGE_SHIFT instead of PGSHIFT, in preperation for futureTheo de Raadt
param.h symbol reduction. ok guenther
2012-07-08Zap extra spaces from function pointer argumentsPhilip Guenthe
Pointed out by Joachim Schipper (joachim at joachimschipper.nl)
2012-07-08Describe tdelete()'s return value correctly and update the related CAVEATPhilip Guenthe
Based on a note from Steffen Daode Nurpmeso (sdaoden at googlemail.com) ok jmc@
2012-06-26after a talk with ariane, use MAP_FIXED for mquery to avoid the cost ofTed Unangst
scanning for free space if the hint isn't available. also, on further inspection, this will prevent pmap_prefer from "improving" our hint.
2012-06-22two changes which should improve realloc. first, fix zapcacheregion toTed Unangst
clear out the entire requested area, not just a perfect fit. second, use mquery to check for room to avoid getting an address we don't like and having to send it back.