Changeset ea4910b in mainline for uspace/lib/c/include/string.h
- Timestamp:
- 2018-11-30T10:04:57Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 26f5bdf, 4aba581
- Parents:
- c483fca
- git-author:
- Jiri Svoboda <jiri@…> (2018-11-29 18:02:24)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-11-30 10:04:57)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/string.h
rc483fca rea4910b 36 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.