diff options
| author | Alejandro Colomar <alx@kernel.org> | 2023-12-19 13:23:14 +0100 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2023-12-19 13:23:14 +0100 |
| commit | 722e9f032d020596c742cc61dc8a5008f768c994 (patch) | |
| tree | f7bb771c78a8ae9d57155163c2c61057d2d7e939 | |
| parent | 872ac84af723b261d6dcdbd23ef0c1024355a9ba (diff) | |
| download | man-pages-722e9f032d020596c742cc61dc8a5008f768c994.tar.gz | |
strtol.3, strtoul.3: If the base is not supported, endptr may be left untouched
Signed-off-by: Alejandro Colomar <alx@kernel.org>
| -rw-r--r-- | man3/strtol.3 | 3 | ||||
| -rw-r--r-- | man3/strtoul.3 | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/man3/strtol.3 b/man3/strtol.3 index 8ea93cb596..c05eac0ece 100644 --- a/man3/strtol.3 +++ b/man3/strtol.3 @@ -71,6 +71,9 @@ forth, with \[aq]Z\[aq] representing 35.) If .I endptr is not NULL, +and the +.I base +is supported, .BR strtol () stores the address of the first invalid character in diff --git a/man3/strtoul.3 b/man3/strtoul.3 index 32bd36dfc4..09b1a7cac9 100644 --- a/man3/strtoul.3 +++ b/man3/strtoul.3 @@ -77,6 +77,9 @@ forth, with \[aq]Z\[aq] representing 35.) If .I endptr is not NULL, +and the +.I base +is supported, .BR strtoul () stores the address of the first invalid character in |
