STRTOL(3) BSD Library Functions Manual STRTOL(3)
NAME
strtoll, strtolll, strtoimaxl, strtoql, strtoull, strtoulll,
strtoumaxl, strtouql -- convert a string value to a long, long long,
intmaxt, quadt unsigned long, unsigned long long, uintmaxt, or
uquadt integer
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
##include <>
##include <>
##include <>
long
strtoll(const char * restrict nptr, char ** restrict endptr, int base,
localet loc);
long long
strtolll(const char * restrict nptr, char ** restrict endptr, int base,
localet loc);
unsigned long
strtoull(const char * restrict nptr, char ** restrict endptr, int base,
localet loc);
unsigned long long
strtoulll(const char * restrict nptr, char ** restrict endptr, int base,
localet loc);
##include <>
##include <>
intmaxt
strtoimaxl(const char * restrict nptr, char ** restrict endptr,
int base, localet loc);
uintmaxt
strtoumaxl(const char * restrict nptr, char ** restrict endptr,
int base, localet loc);
##include <>
##include <>
##include <>
##include <>
quadt
strtoql(const char *nptr, char **endptr, int base, localet loc);
uquadt
strtouql(const char *nptr, char **endptr, int base, localet loc);
DESCRIPTION
The strtoll(), strtolll(), strtoimaxl(), strtoql(), strtoull(),
strtoulll(), strtoumaxl(), and strtouql() functions are extended
locale versions of the strtol(), strtoll(), strtoimax(), strtoq(),
strtoul(), strtoull(), strtoumax(), and strtouq() functions, respec-
tively. Refer to their manual pages for details. Also, see xlocale(3)
for more information about extended locales.
SEE ALSO
strtol(3), strtoul(3), xlocale(3)
BSD March 11, 2005 BSD
|