Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-05Synchronize <strings.h> with latest FreeBSDSebastian Huber
Include <strings.h> in <string.h> if __BSD_VISIBLE like on FreeBSD. Remove redundant declarations from <string.h>. Make ffsl(), ffsll(), strncasecmp(), strcasecmp_l(), and strncasecmp_l() visible via __BSD_VISIBLE instead of __GNU_VISIBLE. Add fls(), flsl(), and flsll() to <strings.h> if __BSD_VISIBLE. Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2017-03-22Rename <sys/_locale.h> to <xlocale.h>Yaakov Selkowitz
The locale_t type is provided by <xlocale.h> on Linux, FreeBSD, and Darwin. While, like on some of those systems, it is automatically included by <locale.h> with the proper feature test macros, its presence under this particular name is still presumed in real-world software. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2016-08-25Add strerror_l prototype, change str[n]casecmp_l feature testsBrian Inglis
strerror_l prototype was missing. str[n]casecmp_l feature tests in string.h vs. strings.h were transposed.
2016-08-23Add missing declarations of str{n}casecmp_l to strings.h.Corinna Vinschen
Per glibc, both funcs are defined as GNU visible in strings.h. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2016-04-14Feature test macros overhaul: string.h and strings.h overlapsYaakov Selkowitz
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-03-18Feature test macros overhaul: strings.hYaakov Selkowitz
Replace __STRICT_ANSI__ with the proper internal macros for bcmp etc. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2010-12-08 * libc/include/strings.h: Don't include locale.h.Corinna Vinschen
2010-12-08strings.h: avoid namespace pollutionEric Blake
* libc/include/strings.h: Don't declare removed functions when requesting POSIX 2008 compliance.
2010-12-072010-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston
* libc/include/strings.h: New (split-out from string.h).