manpagez: man pages & more
man strtol_l(3)
Home | html | info | man
strtol_l(3)              BSD Library Functions Manual              strtol_l(3)


NAME

     strtol_l, strtoll_l, strtoimax_l, strtoq_l, strtoul_l, strtoull_l,
     strtoumax_l, strtouq_l -- convert a string value to a long, long long,
     intmax_t, quad_t unsigned long, unsigned long long, uintmax_t, or
     u_quad_t integer


LIBRARY

     Standard C Library (libc, -lc)


SYNOPSIS

     #include <stdlib.h>
     #include <limits.h>
     #include <xlocale.h>

     long
     strtol_l(const char * restrict nptr, char ** restrict endptr, int base,
         locale_t loc);

     long long
     strtoll_l(const char * restrict nptr, char ** restrict endptr, int base,
         locale_t loc);

     unsigned long
     strtoul_l(const char * restrict nptr, char ** restrict endptr, int base,
         locale_t loc);

     unsigned long long
     strtoull_l(const char * restrict nptr, char ** restrict endptr, int base,
         locale_t loc);

     #include <inttypes.h>
     #include <xlocale.h>

     intmax_t
     strtoimax_l(const char * restrict nptr, char ** restrict endptr,
         int base, locale_t loc);

     uintmax_t
     strtoumax_l(const char * restrict nptr, char ** restrict endptr,
         int base, locale_t loc);

     #include <sys/types.h>
     #include <stdlib.h>
     #include <limits.h>
     #include <xlocale.h>

     quad_t
     strtoq_l(const char *nptr, char **endptr, int base, locale_t loc);

     u_quad_t
     strtouq_l(const char *nptr, char **endptr, int base, locale_t loc);


DESCRIPTION

     The strtol_l(), strtoll_l(), strtoimax_l(), strtoq_l(), strtoul_l(),
     strtoull_l(), strtoumax_l(), and strtouq_l() 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

Mac OS X 10.8 - Generated Fri Aug 31 15:32:18 CDT 2012
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.