Brian Inglis
448b46397d
Add strerror_l prototype, change str[n]casecmp_l feature tests
...
strerror_l prototype was missing.
str[n]casecmp_l feature tests in string.h vs. strings.h were transposed.
2016-08-25 09:44:31 +02:00
Corinna Vinschen
80e0ad1e77
Add missing declarations of str{n}casecmp_l to strings.h.
...
Per glibc, both funcs are defined as GNU visible in strings.h.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2016-08-23 17:40:03 +02:00
Yaakov Selkowitz
9f90ae0435
Feature test macros overhaul: string.h and strings.h overlaps
...
strings.h is the header mandated for these functions in POSIX.1 prior to
2008 (when most of these were removed). The declarations in string.h are
only for BSD compatibility. But when both headers are included, avoid
duplicate declarations.
Also, mark stpcpy and stpncpy as POSIX.1-2008.
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2016-04-13 23:50:11 -05:00
Yaakov Selkowitz
6fe6a822ee
Feature test macros overhaul: strings.h
...
Replace __STRICT_ANSI__ with the proper internal macros for bcmp etc.
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2016-03-17 21:09:09 -05:00
Corinna Vinschen
a406e79b02
* libc/include/strings.h: Don't include locale.h.
2010-12-08 10:28:40 +00:00
Eric Blake
1dfc6c9535
strings.h: avoid namespace pollution
...
* libc/include/strings.h: Don't declare removed functions when
requesting POSIX 2008 compliance.
2010-12-08 02:47:14 +00:00
Jeff Johnston
1d1dde068c
2010-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libc/include/strings.h: New (split-out from string.h).
2010-12-07 17:31:26 +00:00