Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 264302d

Browse files
committed
atol supports trailing l/L if base is 0
1 parent c171552 commit 264302d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/lib/libstring.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ \section{Standard Module \sectcode{string}}
7979
string must consist of one or more digits, optionally preceded by a
8080
sign (\samp{+} or \samp{-}). The \var{base} argument has the same
8181
meaning as for \code{atoi()}. A trailing \samp{l} or \samp{L} is not
82-
allowed.
82+
allowed, except if the base is 0.
8383
\end{funcdesc}
8484

8585
\begin{funcdesc}{expandtabs}{s\, tabsize}

Doc/libstring.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ \section{Standard Module \sectcode{string}}
7979
string must consist of one or more digits, optionally preceded by a
8080
sign (\samp{+} or \samp{-}). The \var{base} argument has the same
8181
meaning as for \code{atoi()}. A trailing \samp{l} or \samp{L} is not
82-
allowed.
82+
allowed, except if the base is 0.
8383
\end{funcdesc}
8484

8585
\begin{funcdesc}{expandtabs}{s\, tabsize}

0 commit comments

Comments
 (0)