summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-12-12 14:40:09 +0000
committerru <ru@FreeBSD.org>2001-12-12 14:40:09 +0000
commit78899bd0ef26ef122e9392dc92052e2599beba64 (patch)
tree7aad6cb9ace85afee0472d83fd499d2b4d34d830 /lib
parented368a1045cb7941973f0f3e3bd66075040014b1 (diff)
downloadFreeBSD-src-78899bd0ef26ef122e9392dc92052e2599beba64.zip
FreeBSD-src-78899bd0ef26ef122e9392dc92052e2599beba64.tar.gz
mdoc(7) police: fix markup.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdlib/atol.330
1 files changed, 17 insertions, 13 deletions
diff --git a/lib/libc/stdlib/atol.3 b/lib/libc/stdlib/atol.3
index 853e098..d23f42d 100644
--- a/lib/libc/stdlib/atol.3
+++ b/lib/libc/stdlib/atol.3
@@ -36,48 +36,52 @@
.\" @(#)atol.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd June 4, 1993
+.Dd November 28, 2001
.Dt ATOL 3
.Os
.Sh NAME
.Nm atol , atoll
.Nd convert
.Tn ASCII
-string to long or long long integer
+string to
+.Vt long
+or
+.Vt "long long"
+integer
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
.In stdlib.h
.Ft long
.Fn atol "const char *nptr"
-.Ft long long
+.Ft "long long"
.Fn atoll "const char *nptr"
.Sh DESCRIPTION
The
.Fn atol
function converts the initial portion of the string pointed to by
-.Ar nptr
+.Fa nptr
to
-.Em long integer
+.Vt long
+integer
representation.
.Pp
It is equivalent to:
-.Bd -literal -offset indent
-strtol(nptr, (char **)NULL, 10);
-.Ed
+.Pp
+.Dl "strtol(nptr, (char **)NULL, 10);"
.Pp
The
.Fn atoll
function converts the initial portion of the string pointed to by
-.Ar nptr
+.Fa nptr
to
-.Em long long integer
+.Vt "long long"
+integer
representation.
.Pp
It is equivalent to:
-.Bd -literal -offset indent
-strtoll(nptr, (char **)NULL, 10);
-.Ed
+.Pp
+.Dl "strtoll(nptr, (char **)NULL, 10);"
.Sh SEE ALSO
.Xr atof 3 ,
.Xr atoi 3 ,
OpenPOWER on IntegriCloud