Debian Codegraph @

upstream/debian-unstable/man3/wcstoimax.3

raw
1 '\" t
2 .\" Copyright 2003, Andries E. Brouwer <[email protected]>
3 .\" Copyright, the authors of the Linux man-pages project
4 .\"
5 .\" SPDX-License-Identifier: GPL-2.0-or-later
6 .\"
7 .TH wcstoimax 3 2026-02-08 "Linux man-pages 6.18"
8 .SH NAME
9 wcstoimax, wcstoumax \- convert wide-character string to integer
10 .SH LIBRARY
11 Standard C library
12 .RI ( libc ,\~ \-lc )
13 .SH SYNOPSIS
14 .nf
15 .B #include <stddef.h>
16 .B #include <inttypes.h>
17 .P
18 .BI "intmax_t wcstoimax(const wchar_t *restrict " nptr ,
19 .BI " wchar_t **restrict " endptr ", int " base );
20 .BI "uintmax_t wcstoumax(const wchar_t *restrict " nptr ,
21 .BI " wchar_t **restrict " endptr ", int " base );
22 .fi
23 .SH DESCRIPTION
24 These functions are just like
25 .BR wcstol (3)
26 and
27 .BR wcstoul (3),
28 except that they return a value of type
29 .I intmax_t
30 and
31 .IR uintmax_t ,
32 respectively.
33 .SH ATTRIBUTES
34 For an explanation of the terms used in this section, see
35 .BR attributes (7).
36 .TS
37 allbox;
38 lbx lb lb
39 l l l.
40 Interface Attribute Value
41 T{
42 .na
43 .nh
44 .BR wcstoimax (),
45 .BR wcstoumax ()
46 T} Thread safety MT-Safe locale
47 .TE
48 .SH STANDARDS
49 C11, POSIX.1-2008.
50 .SH HISTORY
51 POSIX.1-2001, C99.
52 .SH SEE ALSO
53 .BR imaxabs (3),
54 .BR imaxdiv (3),
55 .BR strtoimax (3),
56 .BR strtoumax (3),
57 .\" FIXME . the pages referred to by the following xrefs are not yet written
58 .BR wcstol (3),
59 .BR wcstoul (3)