summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/bits
Commit message (Collapse)AuthorAgeFilesLines
...
* Finish off the bits/kernel_stat.h cleanup for properEric Andersen2002-08-251-1/+27
| | | | | __USE_FILE_OFFSET64 handling. -Erik
* Make shm stuff work properly.Eric Andersen2002-08-252-23/+22
| | | | -Erik
* Tweak things so that struct stat and struct stat64 (seem to) work onManuel Novoa III2002-08-241-7/+0
| | | | i386. This is for Erik to look at wrt the other archs.
* Avoid `ECANCELED' redefined on mipsEric Andersen2002-08-241-3/+4
| | | | -Erik
* Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen2002-08-242-10/+18
| | | | | header, which is not directly usable for many architectures. -Erik
* Split out the definition of struct stat into the new archEric Andersen2002-08-232-612/+60
| | | | | specific bits/kernel_stat.h file. -Erik
* Split out the arch dependant errno_values.h junk into arch dependant files.Eric Andersen2002-08-231-392/+7
| | | | -Erik
* Rework struct stat/stat64 handling to eliminate kernel headersEric Andersen2002-08-221-2/+613
| | | | -Erik
* Rework errno handling to be kernel header freeEric Andersen2002-08-222-12/+523
| | | | -Erik
* Revert mode_t change. Sigh. As Manuel so eloquently put it: "this is the wayEric Andersen2002-08-211-1/+1
| | | | | | we hose our code... hose our code... hose our code... this is the way we hose our code... all thanks to glibc" -Erik
* Eliminate wrapping of struct stat and use the kernel versionEric Andersen2002-08-192-73/+23
| | | | | | directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik
* Directly use kernel types for uid_t, gid_t, and dev_t to avoid theEric Andersen2002-08-181-3/+12
| | | | | need to translate these entities... -Erik
* whitespaceMiles Bader2002-08-161-0/+1
|
* (errno): Only define as a macro if __UCLIBC_HAS_THREADS__ is defined.Miles Bader2002-08-161-3/+4
| | | | | (__set_errno): Just assign to `errno' (which will be expanded to the thread-friendly version when appropriate).
* Replace all instances of _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__Eric Andersen2002-08-161-1/+1
| | | | -Erik
* Revert commit by davidm to printf.c that initialized conv_numManuel Novoa III2002-08-121-9/+9
| | | | | | | | | needlessly. To do so increases the generated code size with bcc. Eliminate duplicate define warnings in wstring.c. Fix potentially broken preprocessor comparisons. The preprocessor converts integers to maximal signed type, so inequality comparisons involving UINTMAX_MAX, ULLONG_MAX, and (if no long long) ULONG_MAX were potentially broken.
* Clean up CLK_TCK situation. clock() and sysconf() now use anManuel Novoa III2002-07-152-2/+18
| | | | | | arch-specific constant value defined in bits/uClibc_clk_tck.h. Default is 100 (common/bits) but alpha uses 1024 following glibc. Override per arch as necessary.
* Attempt to clean up the strerror_r situation.Manuel Novoa III2002-07-071-8/+0
|
* Only define __uwchar_t if wide char support is enabled.Manuel Novoa III2002-07-051-1/+1
|
* Enable WCHAR support for C/POSIX stub locales.Manuel Novoa III2002-07-032-16/+51
| | | | | | Implemented unformatted wide i/o functions. (ungetwc still needs testing) Fix a few bugs in wchar.c. Modifications for bcc/elks support.
* Fix perror() and printf("%m") to not call strerror(), as required by theManuel Novoa III2002-06-181-0/+8
| | | | | | | | | standards. Temporarily added a utility function to wrap Erik's strerror_r so that "Unknown error xxx" strings can be generated for errno's which cause strerror_r to fail. That utility function will eventually be merged in with the strerror/strerror_r functions when I change over to optionallly mmap'ing the system error strings to provide for lower mem comsumption on non-MMU platforms, as well as locale-specific system error messages.
* Kill the libc-lock headers, which we do not use and which areEric Andersen2002-06-102-375/+0
| | | | | not correct for uClibc. Fix setenv locking to behave itself. -Erik
* Add a default syscalls.h that will just error out.Eric Andersen2002-05-121-0/+10
| | | | Add in syscalls.h for alpha.
* New locale support (in development). Supports LC_CTYPE, LC_NUMERIC,Manuel Novoa III2002-05-063-0/+512
| | | | | | | | | | | | | | | | | | | | | | 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.
* Fix another O_LARGEFILE bug. Also, I forget to make floating point optionalManuel Novoa III2002-03-121-5/+0
| | | | in the new printf code.
* Oops.. had left thread support forced on.Manuel Novoa III2002-03-121-1/+1
|
* Fixup redefinition of NL_ARGMAXEric Andersen2002-03-122-3/+3
|
* Swap in the new stdio code.Manuel Novoa III2002-03-121-0/+494
|
* Major rework of the include files to eliminate redundancyEric Andersen2002-03-0171-0/+8119
and to better support each arch. This is a really big patch... -Erik