other versions
- stretch 4.9.168-1
MATCH_STRING(9) | Basic C Library Functions | MATCH_STRING(9) |
NAME¶
match_string - matches given string in an arraySYNOPSIS¶
int match_string(const char *const * array, size_t n, const char * string);
ARGUMENTS¶
arrayarray of strings
n
number of strings in the array or -1 for NULL terminated
arrays
string
string to match with
RETURN¶
index of a string in the array if matches, or -EINVAL otherwise.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |