summaryrefslogtreecommitdiffstats
path: root/include/sys
Commit message (Collapse)AuthorAgeFilesLines
* Sigh. It seems some stupid programs expect this...Eric Andersen2003-10-241-0/+1
|
* It seems we need to also define SI_LOAD_SHIFT since that wasEric Andersen2003-10-221-0/+1
| | | | also exported by the Linux kernel.h header that we do not include.
* Revert to using uClibc-specific c-symbol-prefix stuffMiles Bader2003-09-261-2/+1
| | | | (__C_SYMBOL_PREFIX__).
* Add support for personality(), prctl(), ustat(), and ulimit()Eric Andersen2003-08-084-2/+145
| | | | | syscalls, which had managed to stay unimplemented thus far. -Erik
* Add a new *scanf implementation, includeing the *wscanf functions.Manuel Novoa III2003-08-011-2/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Patch from Stefan Allius:Eric Andersen2003-03-071-1/+1
| | | | fix a couple of gcc 3.3 compiler warnings in gmon.c
* Initial effort at adding profiling support.Eric Andersen2003-03-032-0/+281
|
* Implement sendfile64Eric Andersen2002-11-141-8/+23
| | | | -Erik
* Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen2002-10-311-1/+1
| | | | | | | | | | | | | | | 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
* Eliminate wrapping of struct stat and use the kernel versionEric Andersen2002-08-191-114/+0
| | | | | | directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik
* Avoid errors in case some loon has explicitly includedEric Andersen2002-07-271-0/+2
| | | | | linux/kernel.h (even though doing so is very dumb). -Erik
* (__ASMNAME): Use C_SYMBOL_PREFIX.Miles Bader2002-07-241-3/+2
| | | | (__ASMNAME2): Macro removed.
* Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen2002-07-221-8/+1
| | | | | | 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
* Add missing sysctl.h and queue.hEric Andersen2002-05-022-0/+277
|
* Include our own copy of struct sysinfo to avoid binary compatibilityEric Andersen2002-03-251-2/+18
| | | | | | problems with Linux 2.4, which changed things. And thereby reduce by one more the kernel headers we depend on... -Erik
* Major rework of the include files to eliminate redundancyEric Andersen2002-03-016-514/+0
| | | | | and to better support each arch. This is a really big patch... -Erik
* Several little additions and cleanups. Add getw() and putw().Eric Andersen2002-02-021-0/+36
| | | | | | Add in some missing header files (netipx/ipx.h include/lastlog.h include/sgtty.h include/sys/perm.h) -Erik
* Add missing sys/fsuid.hEric Andersen2002-01-301-0/+36
|
* Support statvfs and statfs. Added getmntent_r (and made it useEric Andersen2002-01-061-0/+87
| | | | | strtok_r instead of strtok), taught getmntent to use getmntent_r. -Erik
* Enable several more syscalls.Eric Andersen2002-01-032-0/+196
|
* Add this so madplay will properly configure itself using ossEric Andersen2001-11-231-0/+1
| | | | | as a default output device. -Erik
* Rev all the header files to sync things with glibc 2.2.4Eric Andersen2001-09-2744-912/+1535
|
* Patch from Andrew Ip <aip@cwlinux.com> to add ftime,Eric Andersen2001-09-061-0/+45
| | | | allowing openssl to be built.
* Make gdb/gcc/binutils happyEric Andersen2001-08-271-0/+103
|
* Added __BEGIN_DECLS and __END_DECLS to the files that didn't haveDavid McCullough2001-07-111-0/+2
| | | | | | it and that I could see needed it. Should be pretty low impact as these are only defined when using C++.
* The main part of the C++ support is the definition of __BEGIN_DECLSDavid McCullough2001-07-111-3/+8
| | | | and __END_DECLS in this file based on the __cplusplus define.
* Cleanup and don't require LIBC to be defined for the syscall numbers.Eric Andersen2001-06-271-11/+7
|
* This adds in support for PIC on x86. Unfortunately, this will breakEric Andersen2001-06-231-4/+5
| | | | | | all arches till they add in an libc/sysdeps/linux/<arch>/bits/syscalls.h file. Sorry about there, there was no other way... -Erik
* Add the in* and out* functions for i386. Note: the sys/io.h header forManuel Novoa III2001-06-171-0/+11
| | | | | | | | | 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.
* Some socket cleanupsEric Andersen2001-06-122-37/+44
|
* Added definition of __THROWDavid Schleef2001-05-261-0/+13
|
* Add in message queue support, based on work from <tapu@371.net>.Eric Andersen2001-05-262-0/+77
| | | | This is required to compile util-linux
* Bring powerpc back into line so it compiles again.Eric Andersen2001-05-111-0/+1
|
* Fix broken resources.hEric Andersen2001-05-102-70/+101
|
* Yipe. This was still pulling in kernel headers.Eric Andersen2001-05-091-2/+4
| | | | -Erik
* Fix comment for #endif to remove warnings.Manuel Novoa III2001-05-081-1/+1
|
* Add in the sysvipc patch from Michael ShmulevichEric Andersen2001-03-191-0/+58
|
* Add an SH port done by Jean-Yves Avenard of Hewlett-Packard - EmbeddedEric Andersen2001-02-211-1/+1
| | | | | and Personal Systems. Thanks! -Erik
* And apparently some things include sys/time.h instead of time.h in uClibc...Manuel Novoa III2001-02-151-2/+1
|
* I guess we always need timespec...Manuel Novoa III2001-02-151-2/+0
|
* Add missing header file.Manuel Novoa III2001-02-151-0/+33
|
* Handle definition of struct timespec.Manuel Novoa III2001-02-151-0/+11
|
* Add MAP_FAILED per spec -- patch from Michael Shmulevich <michaels@jungo.com>Eric Andersen2001-02-131-0/+2
|
* Include ptrace support so debugging will hopefully work.Eric Andersen2001-02-091-0/+119
| | | | -Erik
* Bring into sync with a fairly current glibc header file.Eric Andersen2001-02-031-71/+67
| | | | -Erik
* Add poll, so this is now neededEric Andersen2001-01-161-0/+51
|
* Makeheader files be more like GNUEric Andersen2001-01-152-2/+46
|
* A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen2001-01-111-1/+1
|
* A bunch of updates, part from Manuel Novoa III (such as more long longEric Andersen2001-01-011-8/+99
| | | | | support), and other updates by me (better cross platform, cross-compiler, etc, support. Now compiles with 2.0.x kernels for armnommu.
* Add yet another missing header fileEric Andersen2000-12-121-0/+49
|