strtobool(9) centos man page | unix.com

Man Page: strtobool

Operating Environment: centos

Section: 9

STRTOBOOL(9)						     Basic C Library Functions						      STRTOBOOL(9)

NAME
strtobool - convert common user inputs into boolean values
SYNOPSIS
int strtobool(const char * s, bool * res);
ARGUMENTS
s input string res result
DESCRIPTION
This routine returns 0 iff the first character is one of 'Yy1Nn0'. Otherwise it will return -EINVAL. Value pointed to by res is updated upon finding a match.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRTOBOOL(9)
Related Man Pages
timerisset(3) - netbsd
timespeccmp(3) - netbsd
ovrimos_fetch_row(3) - php
mojo::message::response(3pm) - debian
uri::fetch::response(3pm) - debian
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Weird 'find' results
Docker learning Phase-I
Shopt -s histappend
Please Welcome Dave Munro to the Moderator Team!