Changes in uspace/lib/c/include/string.h [bc56f30:3875f106] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/string.h
rbc56f30 r3875f106 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) && \ 39 !defined(_LIBC_SOURCE) 38 #if defined(_HELENOS_SOURCE) && !defined(_REALLY_WANT_STRING_H) 40 39 #error Please use str.h and mem.h instead 41 40 #endif 42 41 43 #include <_bits/decls.h>44 42 #include <_bits/size_t.h> 45 43 #include <_bits/NULL.h> 46 44 #include <mem.h> 47 48 __C_DECLS_BEGIN;49 45 50 46 extern char *strcpy(char *, const char *); … … 67 63 extern size_t strlen(const char *); 68 64 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 #endif74 75 __C_DECLS_END;76 77 65 #endif 78 66
Note:
See TracChangeset
for help on using the changeset viewer.