Changes in uspace/lib/posix/string.h [4f4b4e7:d3ce33fa] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/string.h
r4f4b4e7 rd3ce33fa 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.