Changeset e4f8c77 in mainline for uspace/lib/posix/string.h
- Timestamp:
- 2011-07-13T22:39:18Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e6910c8
- Parents:
- 5974661 (diff), 8ecef91 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/string.h
r5974661 re4f8c77 85 85 extern char *posix_strchr(const char *s, int c); 86 86 extern char *posix_strrchr(const char *s, int c); 87 extern char *gnu_strchrnul(const char *s, int c); 87 88 extern char *posix_strpbrk(const char *s1, const char *s2); 88 89 extern size_t posix_strcspn(const char *s1, const char *s2); … … 101 102 extern size_t posix_strlen(const char *s); 102 103 extern size_t posix_strnlen(const char *s, size_t n); 104 105 /* Signal messages */ 106 extern char *posix_strsignal(int signum); 107 108 /* Legacy declarations */ 109 #ifndef POSIX_STRINGS_H_ 110 extern int posix_ffs(int i); 111 extern int posix_strcasecmp(const char *s1, const char *s2); 112 extern int posix_strncasecmp(const char *s1, const char *s2, size_t n); 113 #endif 103 114 104 115 #ifndef LIBPOSIX_INTERNAL … … 120 131 #define strchr posix_strchr 121 132 #define strrchr posix_strrchr 133 #define strchrnul gnu_strchrnul 122 134 #define strpbrk posix_strpbrk 123 135 #define strcspn posix_strcspn … … 130 142 #define strerror posix_strerror 131 143 #define strerror_r posix_strerror_r 132 #define strsignal(i) ((char *) "SIGNonSense: There are no signals in HelenOS.")133 144 134 145 #define strlen posix_strlen 135 146 #define strnlen posix_strnlen 147 148 #define strsignal posix_strsignal 149 150 #define ffs posix_ffs 151 #define strcasecmp posix_strcasecmp 152 #define strncasecmp posix_strncasecmp 136 153 #endif 137 154
Note:
See TracChangeset
for help on using the changeset viewer.