1. NAME

strtobool - convert common user inputs into boolean values

2. SYNOPSIS

int strtobool(const char *  s , bool *  res );

3. ARGUMENTS

s
    input string

res
    result

4. DESCRIPTION

This routine returns 0 iff the first character is one of AqYy1Nn0Aq. Otherwise it will return -EINVAL. Value pointed to by res is updated upon finding a match.

5. COPYRIGHT