Changes in uspace/lib/c/include/string.h [3875f106:4805495] in mainline
- File:
-
- 1 edited
-
uspace/lib/c/include/string.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/string.h
r3875f106 r4805495 33 33 */ 34 34 35 #ifndef LIBC_STRING_H_36 #define LIBC_STRING_H_35 #ifndef _LIBC_STRING_H_ 36 #define _LIBC_STRING_H_ 37 37 38 #if defined(_HELENOS_SOURCE) && !defined(_REALLY_WANT_STRING_H) 38 #if defined(_HELENOS_SOURCE) && !defined(_REALLY_WANT_STRING_H) && \ 39 !defined(_LIBC_SOURCE) 39 40 #error Please use str.h and mem.h instead 40 41 #endif … … 63 64 extern size_t strlen(const char *); 64 65 66 #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_LIBC_SOURCE) 67 extern size_t strnlen(const char *, size_t); 68 extern char *strdup(const char *); 69 extern char *strndup(const char *, size_t); 70 #endif 71 65 72 #endif 66 73
Note:
See TracChangeset
for help on using the changeset viewer.
