Query: strict_strtol
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
STRICT_STRTOL(9) Basic C Library Functions STRICT_STRTOL(9)NAMEstrict_strtol - convert a string to a long strictlySYNOPSISint strict_strtol(const char * cp, unsigned int base, long * res);ARGUMENTScp The string to be converted base The number base to use res The converted result valueDESCRIPTIONstrict_strtol is similiar to strict_strtoul, but it allows the first character of a string is '-'. It returns 0 if conversion is successful and *res is set to the converted value, otherwise it returns -EINVAL and *res is set to 0.COPYRIGHTKernel Hackers Manual 2.6. July 2010 STRICT_STRTOL(9)
Related Man Pages |
---|
strtoul(3) - bsd |
strtoumax(3) - mojave |
strtoull(3) - osx |
strtoumax(3) - osx |
strtoul(3) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Getting command output to putty window title. |
Cut command on RHEL 6.8 compatibility issues |
Tar Command |
Shopt -s histappend |
32 bit process addressing more than 4GB |