centos man page for strtobool

Query: strtobool

OS: centos

Section: 9

Links: centos man pages | All man pages

Forums: Unix Linux Community | Forum Categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
timespecsub(3) - netbsd
strvars(3pub) - debian
timerclear(3) - netbsd
timerisset(3) - netbsd
mojo::message::response(3pm) - debian
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Weird 'find' results
How to increment version inside a file?
Unsure why access time on a directory change isn't changing
CentOS 6 ran out of space, need to reclaim it