Rich Felker
|
725e17ed6d
remove non-prototype declaration of basename from string.h
|
1 year ago |
Rich Felker
|
a4b0a665b8
expose memmem under baseline POSIX feature profile
|
1 year ago |
Ismael Luceno
|
98e688a9da
define NULL as nullptr when used in C++11 or later
|
3 years ago |
David Carlier
|
05ac345f89
add explicit_bzero implementation
|
6 years ago |
Alexander Monakov
|
bd00cc8781
remove useless declarations in string.h
|
7 years ago |
Rich Felker
|
c8a9c22173
restore type of NULL to void * except when used in C++ programs
|
11 years ago |
Rich Felker
|
41d7c77d6a
use a common definition of NULL as 0L for C and C++
|
11 years ago |
Rich Felker
|
769fd4ce20
feature test macros: make _GNU_SOURCE enable everything
|
12 years ago |
Rich Felker
|
c86f2974e2
add memmem function (gnu extension)
|
12 years ago |
Rich Felker
|
e2f6a3257e
strsep is BSD|GNU, not GNU-only; it's originally from BSD
|
12 years ago |
Rich Felker
|
c1a9658bd1
default features: make musl usable without feature test macros
|
12 years ago |
Rich Felker
|
400c5e5c83
use restrict everywhere it's required by c99 and/or posix 2008
|
12 years ago |
Rich Felker
|
419ae6d5c9
support _BSD_SOURCE feature test macro
|
12 years ago |
Rich Felker
|
37bb3cce45
omit declaration of basename wrongly interpreted as prototype in C++
|
12 years ago |
Rich Felker
|
06aec8d715
replace prototype for basename in string.h with non-prototype declaration
|
12 years ago |
Rich Felker
|
1ba28b90d6
declare basename in string.h when _GNU_SOURCE is defined
|
12 years ago |
Rich Felker
|
36bf56940a
more locale_t interfaces (string stuff) and header updates
|
12 years ago |
Rich Felker
|
a6540174be
add dummied strverscmp (obnoxious GNU function)
|
13 years ago |
Rich Felker
|
b5b41212a6
function signature fix: add const qualifier to mempcpy src arg
|
13 years ago |
Rich Felker
|
32e2c468ba
typo in prototype for mempcpy
|
13 years ago |
Rich Felker
|
d179807f6b
prototype for mempcpy
|
13 years ago |
Rich Felker
|
6597f9ac13
implement memrchr (nonstandard) and optimize strrchr in terms of it
|
13 years ago |
Rich Felker
|
1fee6186fe
fix prototype for strsep
|
13 years ago |
Rich Felker
|
a5323c5768
add some missing prototypes for nonstandard functions (strsep, clearenv)
|
13 years ago |
Rich Felker
|
2a195dd31c
fix missing prototype for strsignal
|
13 years ago |
Rich Felker
|
73d310e1d2
apply feature test protection to memccpy
|
13 years ago |
Rich Felker
|
26f3551419
prototype for gnu strcasestr (currently a stub)
|
13 years ago |
Rich Felker
|
ca1aa5bae9
more header cleanup and conformance fixes - string.h
|
13 years ago |
Rich Felker
|
0b44a0315b
initial check-in, version 0.5.0
|
13 years ago |