Revision ac6ef868 libavutil/avstring.h

View differences:

libavutil/avstring.h
47 47
int av_stristart(const char *str, const char *pfx, const char **ptr);
48 48

  
49 49
/**
50
 * Locate the first case-independent occurrence in the string s1 of
51
 * the string s2.  A zero-length string s2 is considered to match at
52
 * the start of s1.
53
 *
54
 * This function is a case-insensitive version of the standard strstr().
55
 *
56
 * @param s1 string to search in
57
 * @param s2 string to search for
58
 * @return pointer to the located match within s1 or a null pointer if no match
59
 */
60
char *av_stristr(const char *s1, const char *s2);
61

  
62
/**
50 63
 * Copy the string src to dst, but no more than size - 1 bytes, and
51 64
 * null-terminate dst.
52 65
 *

Also available in: Unified diff