summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2003-10-10We do not provide gmtime(), so disable the prototype toEric Andersen
prevent confusing autoconf
2003-10-08Atsushi Nemoto writes:Eric Andersen
I found inappropriate data types are used in some places in networking codes. * tcp_seq is 32bit (u_long -> u_int32_t) * in_addt_t should be used for internet address (unsigned long -> in_addr_t) * socklen_t should be used for accept() This is a patch against uclibc-0.9.21 (can be applied for current CVS). 64bit platforms (sizeof(int)!=sizeof(long)) will need this. I believe this patch does not harm any 32bit platforms.
2003-09-26Revert to using uClibc-specific c-symbol-prefix stuffMiles Bader
(__C_SYMBOL_PREFIX__).
2003-09-09sigh. The cris compiler doesn't do link_warning's....Eric Andersen
2003-09-08Obligatory forgotten file.Manuel Novoa III
2003-09-08Add back in table-less ctype funcs for those interested in minimizingManuel Novoa III
static build sizes and not needing wchar support. Add in a SUSv3 getopt as an option for those not needing gnu getopt. Again, mainly for the static linking crowd.
2003-09-08ansidecl.h and symcat.h copied from glibc.Miles Bader
2003-09-06Don't install floating point related headers, and wrap some previouslyManuel Novoa III
unwrapped prototypes, when float support is disabled. Also don't install printf.h if glibc custom printf specifier support is disabled.
2003-09-05Add support for ftw and nftwEric Andersen
2003-09-05Move an #endif that was in the wrong place.Manuel Novoa III
2003-09-03Only define __STDC_ISO_10646__ if wide char support is enabled.Manuel Novoa III
2003-08-28Create a typedef for the ctype bitmask table entries.Manuel Novoa III
Hack a fix for ctype support of 8-bit codeset locales. Note: toupper/tolower mappings do not handle the special cases for the tr_TR and az_AZ locales, since the wide versions currently handle them either. That will be addressed when I rewrite the data generation tools and the libc locale code.
2003-08-25Add missing header.Manuel Novoa III
2003-08-24Fix a few bugs in the new extended locale functions.Manuel Novoa III
Move stub gettext functions to a stub libintl to make switching in gnu gettext easier. Also add a few gnu-isms. Change to using hidden names with global weak aliases for the extended locale functions, as expected by libstd++. Slightly rework the locale data generation stuff to allow pregenerated locale data to be used with buildroot.
2003-08-22Avoid gratuitous conflicts when used with kernel headersEric Andersen
2003-08-11also carefully booleanize the false valueEric Andersen
2003-08-10silly me, thats not going to work.Eric Andersen
2003-08-10An even simpler likelyEric Andersen
2003-08-10Update likely() to cope with truth values other than 1Eric Andersen
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-06-17Optionally support the struct tm extension fields.Manuel Novoa III
Add a few misc functions mentioned in time.h. Revert davidm's change regarding using a define for the "/etc/TZ" path, as this is eventually meant to be a configurable extension and not unconditionally supported.
2003-06-16Add memmem().Manuel Novoa III
2003-06-14Comment out the rpl_malloc workaround. It was a good idea, but it violatesEric Andersen
namespace guarantees and conflicts with other programs that have used the AC_FUNC_MALLOC autoconf macro properly.
2003-06-12The mere presence of stropts.h causes many configure scripts to erroneouslyEric Andersen
believe that uClibc supports STREAMS. Well, we don't. So I am hereby removing this header file, since it was empty anyways. Applications that depend on stropts.h being present, but do not depend on its contents, are broken anyways. -Erik
2003-06-05We do not provide getfsent and friends, so remove this headerEric Andersen
file, to prevent stupid configure scripts from getting confused.
2003-05-29Eviscerate stropts.h so configure scripts won't try to use STREAMSEric Andersen
garbage. uClibc does not support STREAMS in any way whatsoever. -Erik
2003-05-27grr. It's a void *, not a char *.Eric Andersen
2003-05-27Change 'N' to '__size' to avoid conflicts with common #define of NEric Andersen
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-03-13resync with glibc 2.3Eric Andersen
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
2003-02-27Major update for pthreads, based in large part on improvementsEric Andersen
from glibc 2.3. This should make threads much more efficient. -Erik
2003-02-17Patch from Stefan Allius:Eric Andersen
I patched the link_warning macro in features.h to fix warnings like: locale.c:358: warning: `__evoke_link_warning_localeconv' defined but not used
2003-02-17Use a define for the path to /etc/TZDavid McCullough
2003-01-09Hide unimplemented and legacy ecvt and friends from configure.Eric Andersen
-Erik
2003-01-08Disable the __USE_EXTERN_INLINES versions of these headers, whichEric Andersen
use non-existant glibc internals.
2003-01-08For now, "#if 0" out the inlining of (currently unsupported) glibc-specificManuel Novoa III
string->numeric conversion functions.
2002-12-20The big thing is locale dependent collation support.Manuel Novoa III
Also added outdigit support and (legacy) YESSTR/NOSTR support.
2002-12-17Dop not restrict the IFTODT() and DTTOIF() macros whenEric Andersen
_DIRENT_HAVE_D_TYPE is not defined. -Erik
2002-11-27Fixup sysconf to report the correct answer when UCLIBC_DYNAMIC_ATEXITEric Andersen
is enabled.
2002-11-22Ok... here's the summary:Manuel Novoa III
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.
2002-11-20Patch from Aidan Van Dyk to make _toupper and _tolowerEric Andersen
work properly, reverting my wrong reading of SuSv3
2002-11-19Aidan Van Dyk noticed that _toupper and _tolower were misbehaving.Eric Andersen
This corrects them, per SuSv3.
2002-11-19cut-n-paste typoEric Andersen
2002-11-19Update to sync up with glibc 2.3Eric Andersen
2002-11-14Implement sendfile64Eric Andersen
-Erik
2002-11-09Make sure we have __linux__ definedEric Andersen
2002-11-08Disble unimplemented function prototypesEric Andersen