Changeset 8cd8bf6 in mainline for uspace/lib/posix/string.h


Ignore:
Timestamp:
2011-07-08T17:25:53Z (13 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
11809eab
Parents:
f5b2522 (diff), ddc63fd (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.
Message:

Merge libposix changes.

File:
1 edited

Legend:

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

    rf5b2522 r8cd8bf6  
    8585extern char *posix_strchr(const char *s, int c);
    8686extern char *posix_strrchr(const char *s, int c);
     87extern char *gnu_strchrnul(const char *s, int c);
    8788extern char *posix_strpbrk(const char *s1, const char *s2);
    8889extern size_t posix_strcspn(const char *s1, const char *s2);
     
    101102extern size_t posix_strlen(const char *s);
    102103extern size_t posix_strnlen(const char *s, size_t n);
     104
     105/* Signal messages */
     106extern char *posix_strsignal(int signum);
    103107
    104108/* Legacy declarations */
     
    127131        #define strchr posix_strchr
    128132        #define strrchr posix_strrchr
     133        #define strchrnul gnu_strchrnul
    129134        #define strpbrk posix_strpbrk
    130135        #define strcspn posix_strcspn
     
    141146        #define strnlen posix_strnlen
    142147
     148        #define strsignal posix_strsignal
     149
    143150        #define ffs posix_ffs
    144151        #define strcasecmp posix_strcasecmp
Note: See TracChangeset for help on using the changeset viewer.