Fork us on GitHub Follow us on Facebook Follow us on Twitter

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


Ignore:
Timestamp:
2012-07-29T23:06:56Z (10 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial
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.