Changes in uspace/lib/c/include/string.h [3875f106:bc56f30] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/string.h
r3875f106 rbc56f30 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 41 42 43 #include <_bits/decls.h> 42 44 #include <_bits/size_t.h> 43 45 #include <_bits/NULL.h> 44 46 #include <mem.h> 47 48 __C_DECLS_BEGIN; 45 49 46 50 extern char *strcpy(char *, const char *); … … 63 67 extern size_t strlen(const char *); 64 68 69 #if defined(_HELENOS_SOURCE) || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_LIBC_SOURCE) 70 extern size_t strnlen(const char *, size_t); 71 extern char *strdup(const char *); 72 extern char *strndup(const char *, size_t); 73 #endif 74 75 __C_DECLS_END; 76 65 77 #endif 66 78
Note:
See TracChangeset
for help on using the changeset viewer.