diff options
| author | Mike Barcroft <mike@FreeBSD.org> | 2002-04-15 03:21:21 +0000 |
|---|---|---|
| committer | Mike Barcroft <mike@FreeBSD.org> | 2002-04-15 03:21:21 +0000 |
| commit | 6e07075911f8bff7fc01a24b909acb50ab13dd59 (patch) | |
| tree | 6c6df9a81cc482cb3cc4bbabf62e410ffad6f928 /include/string.h | |
| parent | d6c4eef6dd115b7d5cbf4d61476df2f8986bbcbe (diff) | |
Notes
Diffstat (limited to 'include/string.h')
| -rw-r--r-- | include/string.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/string.h b/include/string.h index dc0580798f52..7b3dbc68b69c 100644 --- a/include/string.h +++ b/include/string.h @@ -81,13 +81,16 @@ char *strstr(const char *, const char *); char *strtok(char * __restrict, const char * __restrict); size_t strxfrm(char * __restrict, const char * __restrict, size_t); -#if __POSIX_VISIBLE >= 200112 +#if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE >= 500 void *memccpy(void * __restrict, const void * __restrict, int, size_t); char *strdup(const char *); -int strerror_r(int, char *, size_t); char *strtok_r(char *, const char *, char **); #endif +#if __POSIX_VISIBLE >= 200112 +int strerror_r(int, char *, size_t); +#endif + #if __BSD_VISIBLE char *strcasestr(const char *, const char *); size_t strlcat(char *, const char *, size_t); |
