logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

wcstoimax, wcstoumax - convert wide-character string to integer

Attributes

       For an explanation of the terms used in this section, see attributes(7).
       ┌──────────────────────────────────────────────────────────────────────┬───────────────┬────────────────┐
       │ InterfaceAttributeValue          │
       ├──────────────────────────────────────────────────────────────────────┼───────────────┼────────────────┤
       │ wcstoimax(), wcstoumax()                                             │ Thread safety │ MT-Safe locale │
       └──────────────────────────────────────────────────────────────────────┴───────────────┴────────────────┘

Description

       These  functions are just like wcstol(3) and wcstoul(3), except that they return a value of type intmax_t
       and uintmax_t, respectively.

History

       POSIX.1-2001, C99.

Library

       Standard C library (libc, -lc)

Name

       wcstoimax, wcstoumax - convert wide-character string to integer

See Also

imaxabs(3), imaxdiv(3), strtoimax(3), strtoumax(3), wcstol(3), wcstoul(3)

Linux man-pages 6.9.1                              2024-05-02                                       wcstoimax(3)

Standards

       C11, POSIX.1-2008.

Synopsis

#include<stddef.h>#include<inttypes.h>intmax_twcstoimax(constwchar_t*restrictnptr,wchar_t**restrictendptr,intbase);uintmax_twcstoumax(constwchar_t*restrictnptr,wchar_t**restrictendptr,intbase);