Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/string.h

    rd3ce33fa r4f4b4e7  
    8585extern char *posix_strchr(const char *s, int c);
    8686extern char *posix_strrchr(const char *s, int c);
    87 extern char *gnu_strchrnul(const char *s, int c);
    8887extern char *posix_strpbrk(const char *s1, const char *s2);
    8988extern size_t posix_strcspn(const char *s1, const char *s2);
     
    102101extern size_t posix_strlen(const char *s);
    103102extern 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
    114103
    115104#ifndef LIBPOSIX_INTERNAL
     
    131120        #define strchr posix_strchr
    132121        #define strrchr posix_strrchr
    133         #define strchrnul gnu_strchrnul
    134122        #define strpbrk posix_strpbrk
    135123        #define strcspn posix_strcspn
     
    142130        #define strerror posix_strerror
    143131        #define strerror_r posix_strerror_r
     132        #define strsignal(i) ((char *) "SIGNonSense: There are no signals in HelenOS.")
    144133
    145134        #define strlen posix_strlen
    146135        #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
    153136#endif
    154137
Note: See TracChangeset for help on using the changeset viewer.