summaryrefslogtreecommitdiff
path: root/doc/posix-functions/strtol.texi
blob: 061deea1b390870c96ebe3fe3486159d71c5ef9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@node strtol
@section @code{strtol}
@findex strtol

POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/strtol.html}

Gnulib module: strtol

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some old platforms.
@item
This function does not parse the leading @samp{0} when the input string is
@code{"0x"} and the base is 16 or 0 on some platforms:
Minix 3.3, mingw, MSVC 14.
@item
This function does not parse binary integers (with a @samp{0b} or @samp{0B}
prefix) when the base is 2 or 0 on many platforms.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@end itemize