kstrtouint man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

KSTRTOUINT(9)		   Basic C Library Functions		 KSTRTOUINT(9)

NAME
       kstrtouint - convert a string to an unsigned int

SYNOPSIS
       int kstrtouint(const char * s, unsigned int base, unsigned int * res);

ARGUMENTS
       s
	   The start of the string. The string must be null-terminated, and
	   may also include a single newline before its terminating null. The
	   first character may also be a plus sign, but not a minus sign.

       base
	   The number base to use. The maximum supported base is 16. If base
	   is given as 0, then the base of the string is automatically
	   detected with the conventional semantics - If it begins with 0x the
	   number will be parsed as a hexadecimal (case insensitive), if it
	   otherwise begins with 0, it will be parsed as an octal number.
	   Otherwise it will be parsed as a decimal.

       res
	   Where to write the result of the conversion on success.

DESCRIPTION
       Returns 0 on success, -ERANGE on overflow and -EINVAL on parsing error.
       Used as a replacement for the obsolete simple_strtoull. Return code
       must be checked.

COPYRIGHT
Kernel Hackers Manual 3.11	 November 2013			 KSTRTOUINT(9)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net