Changeset 517cedc0 in mainline for uspace/lib/posix/string.h


Ignore:
Timestamp:
2011-07-01T19:30:59Z (14 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b52ef5a
Parents:
65ed8f4
Message:

string.h: Add strchrnul().

File:
1 edited

Legend:

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

    r65ed8f4 r517cedc0  
    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);
     
    127128        #define strchr posix_strchr
    128129        #define strrchr posix_strrchr
     130        #define strchrnul gnu_strchrnul
    129131        #define strpbrk posix_strpbrk
    130132        #define strcspn posix_strcspn
Note: See TracChangeset for help on using the changeset viewer.