Changeset dce39b4 in mainline for uspace/lib/c/include/str.h


Ignore:
Timestamp:
2012-07-29T23:06:56Z (12 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0aa300d
Parents:
99047a72
Message:

Add a function to check if a string has a given prefix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/str.h

    r99047a72 rdce39b4  
    7979extern int str_lcmp(const char *s1, const char *s2, size_t max_len);
    8080
     81extern bool str_test_prefix(const char *s, const char *p);
     82
    8183extern void str_cpy(char *dest, size_t size, const char *src);
    8284extern void str_ncpy(char *dest, size_t size, const char *src, size_t n);
Note: See TracChangeset for help on using the changeset viewer.