STRTOBOOL(9) Basic C Library Functions STRTOBOOL(9)NAMEstrtobool - convert common user inputs into boolean valuesSYNOPSISint strtobool(const char * s, bool * res);ARGUMENTSs input string res resultDESCRIPTIONThis 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.COPYRIGHTKernel Hackers Manual 3.10 June 2014 STRTOBOOL(9)
| Related Man Pages |
|---|
| timespecsub(3) - netbsd |
| strvars(3pub) - debian |
| timeradd(3) - netbsd |
| data::formvalidator::constraintsfactory(3pm) - debian |
| mojo::message::response(3pm) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| Weird 'find' results |
| Set hard block limit for user using quota |
| CentOS7 restoring file capabilities |
| Controlling user input |
| [TIP] Processing YAML files with yq |