summaryrefslogtreecommitdiff
path: root/include/sys
AgeCommit message (Collapse)Author
2003-10-22It seems we need to also define SI_LOAD_SHIFT since that wasEric Andersen
also exported by the Linux kernel.h header that we do not include.
2003-09-26Revert to using uClibc-specific c-symbol-prefix stuffMiles Bader
(__C_SYMBOL_PREFIX__).
2003-08-08Add support for personality(), prctl(), ustat(), and ulimit()Eric Andersen
syscalls, which had managed to stay unimplemented thus far. -Erik
2003-08-01Add a new *scanf implementation, includeing the *wscanf functions.Manuel Novoa III
Should be standards compliant and with several optional features, including support for hexadecimal float notation, locale awareness, glibc-like locale-specific digit grouping with the `'' flag, and positional arg support. I tested it pretty well (finding several bugs in glibc's scanf in the process), but it is brand new so be aware. The *wprintf functions now support floating point output. Also, a couple of bugs were squashed. Finally, %a/%A conversions are now implemented. Implement the glibc xlocale interface for thread-specific locale support. Also add the various *_l(args, locale_t loc_arg) funcs. NOTE!!! setlocale() is NOT threadsafe! NOTE!!! The strto{floating point} conversion functions are now locale aware. The also now support hexadecimal floating point notation. Add the wcsto{floating point} conversion functions. Fix a bug in mktime() related to dst. Note that unlike glibc's mktime, uClibc's version always normalizes the struct tm before attempting to determine the correct dst setting if tm_isdst == -1 on entry. Add a stub version of the libintl functions. (untested) Fixed a known memory leak in setlocale() related to the collation data. Add lots of new config options (which Erik agreed to sort out :-), including finally exposing some of the stripped down stdio configs. Be careful with those though, as they haven't been tested in a long time. (temporary) GOTCHAs... The ctype functions are currently incorrect for 8-bit locales. They will be fixed shortly. The ctype functions are now table-based, resulting in larger staticly linked binaries. I'll be adding an option to use the old approach in the stub locale configuration.
2003-03-07Patch from Stefan Allius:Eric Andersen
fix a couple of gcc 3.3 compiler warnings in gmon.c
2003-03-03Initial effort at adding profiling support.Eric Andersen
2002-11-14Implement sendfile64Eric Andersen
-Erik
2002-10-31Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen
been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik
2002-08-19Eliminate wrapping of struct stat and use the kernel versionEric Andersen
directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik
2002-07-27Avoid errors in case some loon has explicitly includedEric Andersen
linux/kernel.h (even though doing so is very dumb). -Erik
2002-07-24(__ASMNAME): Use C_SYMBOL_PREFIX.Miles Bader
(__ASMNAME2): Macro removed.
2002-07-22Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen
Prepare to kill the UNIFIED_SYSCALL option and instead have it be a per arch thing that is either enabled or not for that arch. -Erik
2002-05-02Add missing sysctl.h and queue.hEric Andersen
2002-03-25Include our own copy of struct sysinfo to avoid binary compatibilityEric Andersen
problems with Linux 2.4, which changed things. And thereby reduce by one more the kernel headers we depend on... -Erik
2002-03-01Major rework of the include files to eliminate redundancyEric Andersen
and to better support each arch. This is a really big patch... -Erik
2002-02-02Several little additions and cleanups. Add getw() and putw().Eric Andersen
Add in some missing header files (netipx/ipx.h include/lastlog.h include/sgtty.h include/sys/perm.h) -Erik
2002-01-30Add missing sys/fsuid.hEric Andersen
2002-01-06Support statvfs and statfs. Added getmntent_r (and made it useEric Andersen
strtok_r instead of strtok), taught getmntent to use getmntent_r. -Erik
2002-01-03Enable several more syscalls.Eric Andersen
2001-11-23Add this so madplay will properly configure itself using ossEric Andersen
as a default output device. -Erik
2001-09-27Rev all the header files to sync things with glibc 2.2.4Eric Andersen
2001-09-06Patch from Andrew Ip <aip@cwlinux.com> to add ftime,Eric Andersen
allowing openssl to be built.
2001-08-27Make gdb/gcc/binutils happyEric Andersen
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-07-11The main part of the C++ support is the definition of __BEGIN_DECLSDavid McCullough
and __END_DECLS in this file based on the __cplusplus define.
2001-06-27Cleanup and don't require LIBC to be defined for the syscall numbers.Eric Andersen
2001-06-23This adds in support for PIC on x86. Unfortunately, this will breakEric Andersen
all arches till they add in an libc/sysdeps/linux/<arch>/bits/syscalls.h file. Sorry about there, there was no other way... -Erik
2001-06-17Add the in* and out* functions for i386. Note: the sys/io.h header forManuel Novoa III
glibc-2.2.2 actually defines static inline versions for i386, but only provides prototypes for externs for the other archs I looked at. Since uClibc shares this header amongst archs, I stashed the inline defs in bits/io_i386.h and included it when __i386__ was defined. Better solutions are most welcome, but it doesn't clutter sys/io.h too badly and now lilo and the pcmcia tools build against uClibc on i386 without modification.
2001-06-12Some socket cleanupsEric Andersen
2001-05-26Added definition of __THROWDavid Schleef
2001-05-26Add in message queue support, based on work from <tapu@371.net>.Eric Andersen
This is required to compile util-linux
2001-05-11Bring powerpc back into line so it compiles again.Eric Andersen
2001-05-10Fix broken resources.hEric Andersen
2001-05-09Yipe. This was still pulling in kernel headers.Eric Andersen
-Erik
2001-05-08Fix comment for #endif to remove warnings.Manuel Novoa III
2001-03-19Add in the sysvipc patch from Michael ShmulevichEric Andersen
2001-02-21Add an SH port done by Jean-Yves Avenard of Hewlett-Packard - EmbeddedEric Andersen
and Personal Systems. Thanks! -Erik
2001-02-15And apparently some things include sys/time.h instead of time.h in uClibc...Manuel Novoa III
2001-02-15I guess we always need timespec...Manuel Novoa III
2001-02-15Add missing header file.Manuel Novoa III
2001-02-15Handle definition of struct timespec.Manuel Novoa III
2001-02-13Add MAP_FAILED per spec -- patch from Michael Shmulevich <michaels@jungo.com>Eric Andersen
2001-02-09Include ptrace support so debugging will hopefully work.Eric Andersen
-Erik
2001-02-03Bring into sync with a fairly current glibc header file.Eric Andersen
-Erik
2001-01-16Add poll, so this is now neededEric Andersen
2001-01-15Makeheader files be more like GNUEric Andersen
2001-01-11A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen
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-12Add yet another missing header fileEric Andersen
2000-11-04More cleanups. Fix things so tinylogin compiles.Eric Andersen
Fix a bug in getdelim -- patch from David Whedon <dwhedon@gordian.com>.