summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add thread-safety to libc, so that libc_r will build (on i386 at least).d1998-11-206-15/+70
| | | | | | | | | | | | | 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@aaron1998-11-172-2/+6
|
* getenv() result is read-only, unless you're looking for trouble.espie1998-11-101-1/+5
|
* define hppa as an ieeemickey1998-08-281-2/+2
|
* document the common misuse of reallocderaadt1998-08-151-2/+26
|
* Make code ANSI/ISO C conformant. Formerly undefined constructs were usedniklas1998-08-121-103/+119
| | | | | making load/store architectures (like mips&alpha) fail whn compiled with gcc -O2.
* Temporary fix for a GCC aliasing bug/misfeature that hits hereniklas1998-08-111-1/+5
|
* Don't enumerate every arch in the #if since all OpenBSD platforms use the ↵millert1998-08-061-8/+4
| | | | same values for malloc_pageshift and malloc_minsize except for sparc
* change to lite2 getenv(); getenv(NULL) now returns NULLderaadt1998-07-161-14/+21
|
* add .Xr's for all the random functions in libcmillert1998-07-053-3/+7
|
* Oh fun, mucking about with files used on all archs.rahnds1998-06-281-2/+2
| | | | | | | | | This is one of many places in the source that have #if defined("list all architectures") Is there some possible way to eliminate, reduce these or at least have a file that describes all occurrances so that when a new port is done this could be addressed. like the recent hppa port, does it need to take a look at this????
* Remove the advertising clause in my old license, it impedes free usemillert1998-06-212-10/+4
| | | | | of the code as a large number of similar clauses makes it impossible to write an ad for a product using the code...
* use Bx macro for BSD versionsmickey1998-06-152-4/+6
|
* readlink(path, buf, sizeof buf-1). Never forget that -1.deraadt1998-05-181-2/+2
|
* indent nicederaadt1998-05-051-2/+2
|
* use Xr more oftenderaadt1998-04-282-4/+7
|
* indent; dimaderaadt1998-04-251-2/+3
|
* More XPG4.2 --millert1998-02-072-13/+19
| | | | | setstate takes a const parameter don't ever spew to stderr, just return NULL
* size_t n in initstate(); XPGderaadt1998-02-062-4/+4
|
* Don't override environ if realloc() fails. Pointed out bymillert1998-02-021-3/+4
| | | | Dave Bodenstab <imdave@mcs.net>
* make mmap() return void *, add MAP_FAILEDderaadt1998-01-021-4/+4
|
* Change realloc(foo,0) to behave like malloc(0). Both now return a pointerpefo1997-08-232-8/+8
| | | | | to an object of size zero. This will allow testing on reallocs return value to determine if the operation was successful or not.
* malloc_init() should try to not modify errnoderaadt1997-08-221-2/+3
|
* Move getsubopt(3) to stdlib like lite2 and XPG4.2 say...millert1997-08-203-6/+259
| | | | Update man page from lite2 while I'm at it.
* Install a64l/l64a man page. Also, tsearch.3 and friends were notmillert1997-08-181-5/+6
| | | | being installed either.
* Man page for a64l(3) and l64a(3), based on a64l.3 from the MiNT docs 0.1.millert1997-08-173-12/+152
| | | | | | Also make a64l(3) and l64a(3) deal reasonably with inapropriate input. The standard does not require this, but it does not disallow it either.
* fix Xrderaadt1997-07-171-2/+2
|
* Use MALLOC_EXTRA_SANITY consistently (EXTRA_SANITY was used in many places)millert1997-07-021-15/+16
| | | | sizeof *pt -> sizeof *px (point to same type of struct but looked wrong).
* Include <stdlib.h> for malloc() proto.millert1997-07-011-0/+1
|
* Make sure we don't get stuck in a loop when trying to clean up stdiotholo1997-06-221-6/+11
|
* add ELOOP support; shigio@wafu.netgate.netderaadt1997-06-201-1/+6
|
* typecastoramaderaadt1997-06-201-10/+10
|
* First cut at documentinf tsearch(3) -- needs work.millert1997-06-151-0/+119
|
* Fix decl for tfind(3)millert1997-06-141-1/+1
|
* damn, no tsearch(3)deraadt1997-06-141-4/+4
|
* PD tsearch as reqd by xpg; by esrderaadt1997-06-134-4/+174
|
* incorrect description; bgrayson@ece.utexas.eduderaadt1997-06-021-6/+6
|
* Make it possible to not output warnings (errors causing aborts are alwaystholo1997-05-312-2/+13
| | | | output).
* Add x/X option to behave like X11 xmalloc; from FreeBSDtholo1997-05-312-32/+84
| | | | Reduce diffs wrt. FreeBSD some
* for i in `find . -name \*.[123456789] -exec grep '^.Dd ' {} /dev/null \; | \deraadt1997-05-301-2/+2
| | | | | | | grep '"' | cut -d':' -f1`; do sed -e '/^.Dd /s/"//g' -e '/^.Dd /s/\(^.Dd [A-Za-z]*\) \(.*\)$/\1, \2/' <$i >x cat x > $i done
* Be more careful with mixing typestholo1997-04-301-6/+5
|
* Check for overflow; from FreeBSDtholo1997-04-051-2/+4
|
* an -> a; soil@quick.netderaadt1997-04-031-2/+2
|
* Ok here is the mvme88k userland, minus a few important pieces.rahnds1997-03-251-2/+2
| | | | | | | | | | as, ld change need to be merged. It is known that shared libraries and C++ do not work. If anyone wants to step forward and take over the mvme88k port please do. It was dumped on me when the original developer, Nivas, left his previous job and started a new one. I am trying to get the port in a shape that someone could take over.
* is we were set[ug]id an unitialized ptr bit usniklas1997-02-111-3/+6
|
* Make this 64-bit safe againtholo1997-02-091-16/+16
|
* Make function decl match prototype in stdlib.hmillert1997-01-191-3/+3
|
* port is powerpc not, ppc.rahnds1997-01-091-2/+2
| | | | Make the defines so.
* Integrate latest malloc(3) from FreeBSDtholo1997-01-051-264/+124
|
* Add powerpc support. To bad this needs to be modified for everyrahnds1996-12-211-2/+3
| | | | new architecture.