summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/bits/uClibc_stdio.h
Commit message (Collapse)AuthorAgeFilesLines
* Synch with trunk @ 24165Carmelo Amoroso2008-11-271-0/+2
| | | | | Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character)
* Fix some __UCLIBC_IO_MUTEX_XXXX macro to be used without FUTEX support. ↵Carmelo Amoroso2008-07-111-61/+12
| | | | Thanks Khem for pointing this out
* Fix the builds without STDIO_FUTEXES. Fix msgecv and msgsend to compile on ↵Khem Raj2008-07-091-12/+61
| | | | ARM as well.
* BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵Carmelo Amoroso2008-07-091-73/+38
| | | | NPTL sh4 port build and work fine. All committed to allow Khem Ray working on a working branch to integrate the ARM nptl port. MIPS nptl port not tested but should still building and working fine. There are some other part non yet merged with trunk (misc/internals and some headers file that need some more work). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* More merging from trunk."Steven J. Hill"2007-01-211-65/+53
|
* Merge from trunk."Steven J. Hill"2006-01-141-3/+3
|
* Merge from trunk."Steven J. Hill"2005-12-131-4/+4
|
* Massive merge from trunk."Steven J. Hill"2005-11-181-3/+18
|
* In reality, the futex support that was originally added was only for STDIO ↵"Steven J. Hill"2005-08-091-4/+4
| | | | operations internal to libc. The futexes should not be visible to anything other than libc. These changes clean up futex and STDIO.
* Add futex support into uClibc. Selection of futex support independent of"Steven J. Hill"2005-07-221-0/+38
| | | | NPTL is not currently supported.
* Fix a couple of issues in configurations I hadn't tested.Manuel Novoa III2004-05-071-23/+7
|
* Fix typo.Manuel Novoa III2004-04-141-1/+1
|
* New stdio core. Should be more maintainable. Fixes a couple of bugs.Manuel Novoa III2004-02-111-391/+325
| | | | | | | | Codepaths streamlined. Improved performance for nonthreaded apps when linked with a thread-enabled libc. Minor iconv bug and some locale/thread related startup issues fixed. These showed up in getting a gcj-compiled java helloworld app running. Removed some old extension functions... _stdio_fdout and _stdio_fsfopen.
* Fix a long-standing bug with pthreads. A couple of linuxthreads filesManuel Novoa III2003-12-271-3/+3
| | | | | | | | | | | | | | | | were including libc-lock.h which had a bunch of weak pragmas. Also, uClibc supplied a number of no-op weak thread functions even though many weren't needed. This combined result was that sometimes the functional versions of thread functions in pthread would not override the weaks in libc. While fixing this, I also prepended double-underscore to all necessary weak thread funcs in uClibc, and removed all unused weaks. I did a test build, but haven't tested this since these changes are a backport from my working tree. I did test the changes there and no longer need to explicitly add -lpthread in the perl build for perl to pass its thread self tests.
* Add a utility macro.Manuel Novoa III2003-11-061-0/+4
|
* Remove erroneous trailing semicolon.Manuel Novoa III2003-11-051-1/+1
|
* Add a new *scanf implementation, includeing the *wscanf functions.Manuel Novoa III2003-08-011-26/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Ok... here's the summary:Manuel Novoa III2002-11-221-0/+5
| | | | | | | | | | | | | | Hopefully locale support will build when cross compiling now. Collation is still not supported, but that's what I'm currently working on. In the next couple of days, I'll probably put up a couple of files for download that will save people the trouble of generating all the glibc locales. Added *wprintf functions, although they currently don't support floating point. That will be fixed when I rewrite _dtostr... or possibly before. Added the wcsto{inttype} functions. Added iconv() and a mini iconv utility. The require locale support and only provide for conversions involving the various unicode encodings { UCS-4*, UCS-2*, UTF-32*, UTF-16*, UTF-8 }, the 8-bit codesets built with the locale data, and the internal WCHAR_T.
* Implement locale-specific grouping in printf for base 10 integer conversionsManuel Novoa III2002-11-031-0/+1
| | | | | when the grouping flag "'" is specified. Grouping for floating point values may wait until I do a rewrite of the floating pt to string code...
* Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen2002-10-311-6/+6
| | | | | | | | | | | | | | | 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
* 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.
* Attempt to clean up the strerror_r situation.Manuel Novoa III2002-07-071-8/+0
|
* Enable WCHAR support for C/POSIX stub locales.Manuel Novoa III2002-07-031-11/+42
| | | | | | 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.
* 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-121-1/+1
|
* Swap in the new stdio code.Manuel Novoa III2002-03-121-0/+494