summaryrefslogtreecommitdiff
path: root/include/stdlib.h
AgeCommit message (Collapse)Author
2003-05-23Cope with autoconf's broken AC_FUNC_MALLOC macro, which redefines malloc asEric Andersen
rpl_malloc if it does not detect glibc style returning-a-valid-pointer-for-malloc(0) behavior. This wrapper calls malloc() as usual, but if N is zero, we allocate and return a 1-byte block instead.... sigh... -Erik
2003-01-09Hide unimplemented and legacy ecvt and friends from configure.Eric Andersen
-Erik
2003-01-08For now, "#if 0" out the inlining of (currently unsupported) glibc-specificManuel Novoa III
string->numeric conversion functions.
2002-11-27Fixup sysconf to report the correct answer when UCLIBC_DYNAMIC_ATEXITEric Andersen
is enabled.
2002-08-25Kill the HAS_LONG_LONG option. It really did not make a lot ofEric Andersen
sense to exclude it, gcc always supports long long, and we never fully excluded long long anyways (off64_t for example). -Erik
2002-08-15Patch from Jarkko to fix drand48 to not use long long whenEric Andersen
long long support is disabled in the uClibc Config.
2002-08-06Enable getpt prototype.Manuel Novoa III
2002-07-03Enable WCHAR support for C/POSIX stub locales.Manuel Novoa III
Implemented unformatted wide i/o functions. (ungetwc still needs testing) Fix a few bugs in wchar.c. Modifications for bcc/elks support.
2002-05-06New locale support (in development). Supports LC_CTYPE, LC_NUMERIC,Manuel Novoa III
LC_TIME, LC_MONETARY, and LC_MESSAGES for the SUSv3 items. Also, nl_langinfo() when real locale support is enabled. New implementation of ctype.h. New implementation of wctype.h. New implementation of most of the string functions (smaller). New implementation of the wcs/wmem functions. These are untested, but they're also just preprocessor-modified versions ot the corresponding str/mem functions. Tweaked qsort and new bsearch. Stuff still pending: stdlib.h and wchar.h mb<->wc functions. I actually have working versions of the stdlib ones, but the reentrant versions from wchar.h require some reworking. Basic replacement and translit support for wc->mb conversions. (groundwork laid). Simple-minded collate support such as was provided by the previous locale implementation. (mostly done -- 8-bit codesets only) Shared mmaping of the locale data and strerror message text.
2002-02-14Disable a lingering bit of wide char junkEric Andersen
2002-01-16Hide all reference to wchar_t so configure won't get confusedEric Andersen
-Erik
2002-01-10Eliminate C++ style commentsEric Andersen
2001-09-27Rev all the header files to sync things with glibc 2.2.4Eric Andersen
2001-08-29Wrap up some long long stuff in __UCLIBC_HAS_LONG_LONG__Eric Andersen
2001-08-24atoi, atol, atoll, and atof are supposed to be functions, not macros.Eric Andersen
-Erik
2001-07-11Added __BEGIN_DECLS and __END_DECLS to the files that didn't haveDavid McCullough
it and that I could see needed it. Should be pretty low impact as these are only defined when using C++.
2001-05-11A patch from Matthias Kilian <kili@outback.escape.de> to fix -DDEBUG_MALLOCEric Andersen
so that it works for realloc too. -Erik
2001-03-22Add in random(), make rand use that under the hood. Fix theEric Andersen
include file so folks know random is now there.
2001-03-19Fix up breakage resulting from flipping the sense of some defines. Change fromEric Andersen
defining things to "0" in the disabled case to outright undefining them, lest code that does an "#ifdef FOO" get inadvertantly triggered. Remove now unneeded lines from Rules.mak which makes the command line smaller and avoids redundancy (since this stuff is now pulled in via features.h). -Erik
2001-03-08Make alloca work using the compiler builtinEric Andersen
-Erik
2001-01-25Clean up atexit.c; make sure sysconf and atexit agree; link in ref'd libgcc.aManuel Novoa III
objects with shared uClibc; allow disabling long long support.
2001-01-01A bunch of updates, part from Manuel Novoa III (such as more long longEric Andersen
support), and other updates by me (better cross platform, cross-compiler, etc, support. Now compiles with 2.0.x kernels for armnommu.
2000-12-20A number of updates from Manuel Novoa III. Things look good...Eric Andersen
2000-12-12A few cleanups. Fix fflush so it remembers to init stdio.Eric Andersen
2000-10-11Finish reorganizing things. At least I think I've finished.Eric Andersen
2000-10-09Bug ugly formatting updateEric Andersen
2000-10-04Fix all the makefiles. Clean up some warnings, cleanup some headers.Eric Andersen
-Erik
2000-08-21+ added alloca() support for all architecturesJohn Beppu
by way of gcc's __builtin_alloca(). I think I did it right, but we'll see.
2000-08-10More stuff. Down to only 43 missing functions before BusyBox willEric Andersen
link. Fixed socket stuff so it doesn't pull in kernel headers and stubbed out fork and clone. A few other header file cleanups. -Erik
2000-07-09Add in a bunch of junk. Busybox now compiles (except for mkfs.minix andEric Andersen
fsck.minix). Of course, it doesn't link yet due to missing functions, but hey... At least it is now easy to see what isn't working. :-) -Erik
2000-07-06Some more major updates to further superate ucLibc from the kernelEric Andersen
headers (the way it has been done in GNU libc). -Erik
2000-07-06Lots and lots of cleanups.Eric Andersen
-Erik
2000-07-05Many bugfixes, header cleanups, etc. Added abort and glob.Eric Andersen
It is getting closer... -Erik
2000-05-16Add in the "_start" symbol in asm. Fix a makefile (that needs to beErik Andersen
abstracted I suppose for platforms (though I am doing fine w/o libcrt*) and add function prototype for exit into stdlib.h (it was missing... odd). Compiles vs uC-libc are less noisy now. -Erik
2000-05-14Work in progress -- cleanups.Erik Andersen
-Erik
2000-05-14Initial revisionErik Andersen