summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/strtol.3
diff options
context:
space:
mode:
authormillert <>2002-11-21 20:54:09 +0000
committermillert <>2002-11-21 20:54:09 +0000
commit82f5f5cc6f5a299ea502cad9b78326371fa65824 (patch)
tree69ccb7b959bfd4896ce6f8b745df037097dfedda /src/lib/libc/stdlib/strtol.3
parent5470079f1e2c28613814c64ef7eaba4957e9b3ad (diff)
downloadopenbsd-82f5f5cc6f5a299ea502cad9b78326371fa65824.tar.gz
openbsd-82f5f5cc6f5a299ea502cad9b78326371fa65824.tar.bz2
openbsd-82f5f5cc6f5a299ea502cad9b78326371fa65824.zip
.Xr atoll(3) and add missing .Xr of atol(3) in atoll(3) man page.
Diffstat (limited to 'src/lib/libc/stdlib/strtol.3')
-rw-r--r--src/lib/libc/stdlib/strtol.314
1 files changed, 11 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/strtol.3 b/src/lib/libc/stdlib/strtol.3
index a5bdff0b81..7ac9f52b7a 100644
--- a/src/lib/libc/stdlib/strtol.3
+++ b/src/lib/libc/stdlib/strtol.3
@@ -33,7 +33,7 @@
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE. 34.\" SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: strtol.3,v 1.10 2002/06/29 00:20:11 millert Exp $ 36.\" $OpenBSD: strtol.3,v 1.11 2002/11/21 20:54:09 millert Exp $
37.\" 37.\"
38.Dd June 25, 1992 38.Dd June 25, 1992
39.Dt STRTOL 3 39.Dt STRTOL 3
@@ -231,13 +231,21 @@ The given string was out of range; the value converted has been clamped.
231.Xr atof 3 , 231.Xr atof 3 ,
232.Xr atoi 3 , 232.Xr atoi 3 ,
233.Xr atol 3 , 233.Xr atol 3 ,
234.Xr atoll 3 ,
234.Xr sscanf 3 , 235.Xr sscanf 3 ,
235.Xr strtod 3 , 236.Xr strtod 3 ,
236.Xr strtoul 3 237.Xr strtoul 3
237.Sh STANDARDS 238.Sh STANDARDS
238The 239The
239.Fn strtol 240.Fn strtol
240function conforms to 241and
241.St -ansiC . 242.Fn strtoll
243functions conform to
244.St -ansiC-99 .
245The
246.Fn strtoq
247function is a
248.Bx
249extension and is provided for backwards compatibility with legacy programs.
242.Sh BUGS 250.Sh BUGS
243Ignores the current locale. 251Ignores the current locale.