summaryrefslogtreecommitdiffstats
path: root/include/string.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix a few bugs in the new extended locale functions.Manuel Novoa III2003-08-241-0/+11
| | | | | | | | | 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.
* Add a new *scanf implementation, includeing the *wscanf functions.Manuel Novoa III2003-08-011-27/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add memmem().Manuel Novoa III2003-06-161-2/+0
|
* Hide my personal #warning reminders. Add __wcschrnul, rename strchrnulManuel Novoa III2002-09-191-4/+2
| | | | to __strchrnul, and add weak aliases for them.
* Attempt to clean up the strerror_r situation.Manuel Novoa III2002-07-071-4/+23
|
* Update header for strlcat and strlcpy.Manuel Novoa III2002-07-051-0/+8
|
* Implement strerror_r. This is per SuSv3, not glibc which doesEric Andersen2002-06-171-1/+1
| | | | | something different. -Erik
* Eliminate C++ style commentsEric Andersen2002-01-101-5/+5
|
* Implement mempcpyEric Andersen2002-01-091-1/+2
|
* Fix stpcpy function declarationEric Andersen2002-01-061-2/+0
|
* Update my email address. I am no longer andersen@lineo.comEric Andersen2001-12-191-2/+2
|
* Add strndup, written by Stefan Soucek <ssoucek@coactive.com>Eric Andersen2001-10-111-2/+1
|
* Rev all the header files to sync things with glibc 2.2.4Eric Andersen2001-09-271-109/+334
|
* I just wrote a stpncpy() since someone wanted itEric Andersen2001-08-111-0/+2
|
* Added __BEGIN_DECLS and __END_DECLS to the files that didn't haveDavid McCullough2001-07-111-1/+4
| | | | | | it and that I could see needed it. Should be pretty low impact as these are only defined when using C++.
* Added stpcpy and strcasestr along with some code to test them.David McCullough2001-07-041-0/+3
|
* Fix the header file for index, rindex and similarEric Andersen2001-03-151-4/+5
|
* Add in wordexp support (mostly stubbed out for now) since the busyboxEric Andersen2001-03-081-0/+25
| | | | | shell, lash, is about to start using wordexp. -Erik
* Added __strtok_r function. Change strtok to a wrapper around __strtok_r andManuel Novoa III2001-03-011-0/+10
| | | | | add a weak alias of __strtok_r for strtok_r since optional. Also reduced code size.
* Add ffs func declarationEric Andersen2001-02-091-0/+4
| | | | -Erik
* Include real prototype for bcmpEric Andersen2000-10-231-1/+1
|
* More updates. Implement strsignal. Add pwd_grp testsEric Andersen2000-10-181-0/+2
|
* More missing prototypes.Eric Andersen2000-10-031-0/+5
|
* Rework all the string handling. Make const stuff be constified.Eric Andersen2000-07-061-24/+68
| | | | -Erik
* Initial revision0_9_1Erik Andersen2000-05-141-0/+56