mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
mdoc(7) police: fix markup.
This commit is contained in:
parent
2554caf28c
commit
9a05e59078
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87736
@ -36,48 +36,52 @@
|
|||||||
.\" @(#)atol.3 8.1 (Berkeley) 6/4/93
|
.\" @(#)atol.3 8.1 (Berkeley) 6/4/93
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd June 4, 1993
|
.Dd November 28, 2001
|
||||||
.Dt ATOL 3
|
.Dt ATOL 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm atol , atoll
|
.Nm atol , atoll
|
||||||
.Nd convert
|
.Nd convert
|
||||||
.Tn ASCII
|
.Tn ASCII
|
||||||
string to long or long long integer
|
string to
|
||||||
|
.Vt long
|
||||||
|
or
|
||||||
|
.Vt "long long"
|
||||||
|
integer
|
||||||
.Sh LIBRARY
|
.Sh LIBRARY
|
||||||
.Lb libc
|
.Lb libc
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.In stdlib.h
|
.In stdlib.h
|
||||||
.Ft long
|
.Ft long
|
||||||
.Fn atol "const char *nptr"
|
.Fn atol "const char *nptr"
|
||||||
.Ft long long
|
.Ft "long long"
|
||||||
.Fn atoll "const char *nptr"
|
.Fn atoll "const char *nptr"
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Fn atol
|
.Fn atol
|
||||||
function converts the initial portion of the string pointed to by
|
function converts the initial portion of the string pointed to by
|
||||||
.Ar nptr
|
.Fa nptr
|
||||||
to
|
to
|
||||||
.Em long integer
|
.Vt long
|
||||||
|
integer
|
||||||
representation.
|
representation.
|
||||||
.Pp
|
.Pp
|
||||||
It is equivalent to:
|
It is equivalent to:
|
||||||
.Bd -literal -offset indent
|
.Pp
|
||||||
strtol(nptr, (char **)NULL, 10);
|
.Dl "strtol(nptr, (char **)NULL, 10);"
|
||||||
.Ed
|
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
.Fn atoll
|
.Fn atoll
|
||||||
function converts the initial portion of the string pointed to by
|
function converts the initial portion of the string pointed to by
|
||||||
.Ar nptr
|
.Fa nptr
|
||||||
to
|
to
|
||||||
.Em long long integer
|
.Vt "long long"
|
||||||
|
integer
|
||||||
representation.
|
representation.
|
||||||
.Pp
|
.Pp
|
||||||
It is equivalent to:
|
It is equivalent to:
|
||||||
.Bd -literal -offset indent
|
.Pp
|
||||||
strtoll(nptr, (char **)NULL, 10);
|
.Dl "strtoll(nptr, (char **)NULL, 10);"
|
||||||
.Ed
|
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr atof 3 ,
|
.Xr atof 3 ,
|
||||||
.Xr atoi 3 ,
|
.Xr atoi 3 ,
|
||||||
|
Loading…
Reference in New Issue
Block a user