Changeset 7e10aee in mainline for uspace/lib/posix/string.h


Ignore:
Timestamp:
2011-08-18T12:08:39Z (13 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:
3f33b95
Parents:
c53a705
Message:

Rewrite strstr() using Knuth-Morris-Pratt algorithm.

File:
1 edited

Legend:

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

    rc53a705 r7e10aee  
    8686extern size_t posix_strcspn(const char *s1, const char *s2);
    8787extern size_t posix_strspn(const char *s1, const char *s2);
    88 extern char *posix_strstr(const char *s1, const char *s2);
     88extern char *posix_strstr(const char *haystack, const char *needle);
    8989
    9090/* Collation Functions */
Note: See TracChangeset for help on using the changeset viewer.