Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | correct man page section | 2014-04-21 | 1 | -2/+2 | |
| | |||||
* | Introducing: void *mallocarray(size_t nmemb, size_t size); | 2014-04-21 | 1 | -2/+2 | |
| | | | | | Like calloc(), except without the cleared-memory gaurantee ok beck guenther, discussed for more than a year... | ||||
* | Retire hp300, mvme68k and mvme88k ports. These ports have no users, keeping | 2014-03-18 | 1 | -5/+3 | |
| | | | | | | | 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. | ||||
* | Move _Exit() from the exit() manpage to the _exit() manpage, as it's | 2013-06-05 | 1 | -2/+1 | |
| | | | | | | just an alias of the latter. ok matthew@ tedu@ | ||||
* | Simple emulation of POSIX pty APIs posix_openpt(), ptsname(), | 2012-12-03 | 1 | -6/+7 | |
| | | | | | grantpt() and unlockpt() using /dev/ptm. Man pages from FreeBSD. OK kettenis@ deraadt@ beck@ ajacoutot@ naddy@ | ||||
* | remove tahoe-specific makefile machinery, no such hardware is known to be | 2012-09-15 | 1 | -5/+1 | |
| | | | | | in working condition anymore (assuming there would be interest in running on it). | ||||
* | remove lint leftovers; ok guenther@ | 2012-09-04 | 1 | -5/+1 | |
| | |||||
* | add posix_madvise, posix_memalign, strndup, and strnlen. mostly from | 2010-05-18 | 1 | -4/+4 | |
| | | | | | brad and millert, with hints from guenther, jmc, and otto I think. ok previous. | ||||
* | Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependent | 2010-02-03 | 1 | -9/+9 | |
| | | | | | | | files or directories when applicable. The inspiration and name of MACHINE_CPU come from NetBSD, although the way to provide it to Makefiles is completely different. ok kettenis@ | ||||
* | Make putenv(), setenv() and unsetenv() standards compliant. The | 2009-06-03 | 1 | -2/+2 | |
| | | | | | | standard explicitly disallows passing setenv a name with a '=' in it but historic BSD behavior is to allow this but to ignore the '=' and anything after it. | ||||
* | document strtold. ok millert@ | 2008-09-13 | 1 | -2/+2 | |
| | |||||
* | - replace dtoa w/ David's gdtoa, version 2008-03-15 | 2008-09-07 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - provide proper dtoa locks - use the real strtof implementation - add strtold, __hdtoa, __hldtoa - add %a/%A support - don't lose precision in printf, don't round to double anymore - implement extended-precision versions of libc functions: fpclassify, isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is fixed - separate vax versions of strtof, and __hdtoa - add complex math support. added functions: cacos, casin, catan, ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp, clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf, casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf, ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf, cimagf, conjf, cprojf, crealf - add fdim, fmax, fmin - add log2. (adapted implementation e_log.c. could be more acruate & faster, but it's good enough for now) - remove wrappers & cruft in libm, supposed to work-around mistakes in SVID, etc.; use ieee versions. fixes issues in python 2.6 for djm@ - make _digittoint static - proper definitions for i386, and amd64 in ieee.h - sh, powerpc don't really have extended-precision - add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h for LDBL_* - merge lead to frac for m{6,8}k, for gdtoa to work properly - add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa to use - add EXT_IMPLICIT_NBIT definition, which indicates implicit normalization bit - add regression tests for libc: fpclassify and printf - arith.h & gd_qnan.h definitions - update ieee.h: hppa doesn't have quad-precision, hppa64 does - add missing prototypes to gdtoaimp - on 64-bit platforms make sure gdtoa doesn't use a long when it really wants an int - etc., what i may have forgotten... - bump libm major, due to removed&changed symbols - no libc bump, since this is riding on djm's libc major crank from a day ago discussed with / requested by / testing theo, sthen@, djm@, jsg@, merdely@, jsing@, tedu@, brad@, jakemsr@, and others. looks good to millert@ parts of the diff ok kettenis@ this commit does not include: - man page changes | ||||
* | Smarter implementation of calloc(3), which uses the fact that mmap(2) | 2008-08-22 | 1 | -2/+2 | |
| | | | | | returns zero filled pages; remember to replace this function as well if you provide your own malloc implementation; ok djm@ deraadt@ | ||||
* | Add strtof() to libc, some ports seem to like it. Currently it's a simple | 2008-06-13 | 1 | -3/+4 | |
| | | | | | | | call to strtod() with bounding check. Discussed with pyr@ and otto@ ok otto@ deraadt@ | ||||
* | remove recalloc(3); it is buggy and impossible to repair without big | 2008-05-19 | 1 | -2/+2 | |
| | | | | costs; ok jmc@ for the man page bits; ok millert@ deraadt@ | ||||
* | add recaloc(3) | 2007-09-03 | 1 | -2/+2 | |
| | |||||
* | Add lldiv(), imaxabs(), imaxdiv(), strtoimax() and strtoumax() | 2006-01-13 | 1 | -10/+11 | |
| | |||||
* | major abi changes: | 2005-05-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | * introduce the mbstate_t typedef. impacts gnu libiconv, which has already been taken care of. * Prepare for mb stuff to really exist, replace macro MB_CUR_MAX with an external variable __mb_cur_max (impacts libX11 and various ports). * use mbstate in all the mb <-> wchar functions with state. * add a stub iswctype function allowing some ports to compile. bash and gdiff are missing wcscoll, and need to be told there's no i18n until this is fixed. Discussed and matthieu, otto, millert, kettenis, deraadt. Major libc bump | ||||
* | Working hcreate(3) et al from NetBSD (cgd) via ray at cyth dot net. | 2004-06-24 | 1 | -5/+6 | |
| | | | | Now passes the regress tests. | ||||
* | Add _Exit(3) as per C99. Discussed with espie@ some time ago. | 2004-05-03 | 1 | -1/+2 | |
| | |||||
* | strtonum, a nicer version of strtoll, by millert and myself. | 2004-05-03 | 1 | -2/+3 | |
| | | | | ok deraadt@ millert@ | ||||
* | kill memory.3; | 2004-02-10 | 1 | -1/+1 | |
| | | | | suggested by deraadt@ | ||||
* | Compile llabs.c | 2003-07-21 | 1 | -1/+2 | |
| | |||||
* | Use the getopt() in getopt_long.c which supports some GNU extensions. | 2003-06-02 | 1 | -1/+1 | |
| | | | | getopt.c is no longer compiled and will eventually be removed. | ||||
* | assembler versions of insque and remque for m68k, also from 4.4BSD | 2003-05-09 | 1 | -1/+1 | |
| | |||||
* | insque and remque are VAX instructions, no need for C functions; From 4.4BSD | 2003-05-09 | 1 | -2/+8 | |
| | |||||
* | Oops, forgot to add remque.c here | 2003-05-09 | 1 | -1/+1 | |
| | |||||
* | move insque(3) and remque(3) from libcompat -> libc; they are now POSIX | 2003-05-08 | 1 | -8/+9 | |
| | |||||
* | move lsearch(3) and insque(3) from libcompat -> libc; they are now POSIX | 2003-05-08 | 1 | -7/+8 | |
| | |||||
* | fix typo | 2002-12-03 | 1 | -1/+1 | |
| | |||||
* | GNU-like getopt_long() from NetBSD with changes by me to support | 2002-12-03 | 1 | -8/+9 | |
| | | | | | | | | getopt_long_only(). At some point this should replace the BSD getopt(3) but we are not there yet. While I am here add protection from the multiple getopt() definitions due to conflicting standards. | ||||
* | Add ecvt(), fcvt() and gcvt() for standard compliance and legacy code. | 2002-12-02 | 1 | -7/+9 | |
| | |||||
* | Take advantage of the libc minor bump and add atoll(3) | 2002-11-21 | 1 | -7/+7 | |
| | |||||
* | Replace strtou?q() with the more standard strtou?ll(), using weak | 2002-06-29 | 1 | -4/+4 | |
| | | | | aliases to fake up strtou?q(). espie@ OK. | ||||
* | MLINK srandomdev | 2000-04-04 | 1 | -1/+2 | |
| | |||||
* | Add missing MLINKs | 1999-11-17 | 1 | -1/+2 | |
| | |||||
* | calloc.c is back | 1999-11-10 | 1 | -1/+1 | |
| | |||||
* | Merge calloc(3) man page into malloc.3; as suggested by millert@ | 1999-11-09 | 1 | -2/+2 | |
| | |||||
* | Move calloc() into malloc.c and only zero out the area if malloc() | 1999-11-09 | 1 | -1/+1 | |
| | | | | | | didn't do so for us. By default, malloc() zeros out the space it allocates but the programmer cannot rely on this as it is implementation- specific (and configurable via /etc/malloc.conf) | ||||
* | Add thread-safety to libc, so that libc_r will build (on i386 at least). | 1998-11-20 | 1 | -1/+1 | |
| | | | | | | | | | | | | | All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO | ||||
* | add MLINK for malloc.conf.5 man page, also add FILES section to malloc.3; fries@ | 1998-11-17 | 1 | -1/+1 | |
| | |||||
* | Move getsubopt(3) to stdlib like lite2 and XPG4.2 say... | 1997-08-20 | 1 | -6/+6 | |
| | | | | Update man page from lite2 while I'm at it. | ||||
* | Install a64l/l64a man page. Also, tsearch.3 and friends were not | 1997-08-18 | 1 | -5/+6 | |
| | | | | being installed either. | ||||
* | damn, no tsearch(3) | 1997-06-14 | 1 | -4/+4 | |
| | |||||
* | PD tsearch as reqd by xpg; by esr | 1997-06-13 | 1 | -2/+6 | |
| | |||||
* | Move cfree(3) weak symbol into a seperate file | 1996-08-21 | 1 | -2/+2 | |
| | |||||
* | Make it even out. | 1996-08-21 | 1 | -2/+3 | |
| | |||||
* | Document it. | 1996-08-21 | 1 | -2/+2 | |
| | |||||
* | Import malloc(3) manual page from FreeBSD | 1996-08-10 | 1 | -8/+7 | |
| | |||||
* | Add support for building lint(1) library | 1996-03-25 | 1 | -1/+5 | |
| |