summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/atol.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/stdlib/atol.3')
-rw-r--r--src/lib/libc/stdlib/atol.313
1 files changed, 6 insertions, 7 deletions
diff --git a/src/lib/libc/stdlib/atol.3 b/src/lib/libc/stdlib/atol.3
index 86e3d324a3..cd276a571f 100644
--- a/src/lib/libc/stdlib/atol.3
+++ b/src/lib/libc/stdlib/atol.3
@@ -33,8 +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.\" from: @(#)atol.3 5.3 (Berkeley) 6/29/91 36.\" $OpenBSD: atol.3,v 1.5 2002/11/21 20:54:09 millert Exp $
37.\" $Id: atol.3,v 1.1.1.1 1995/10/18 08:42:16 deraadt Exp $
38.\" 37.\"
39.Dd June 29, 1991 38.Dd June 29, 1991
40.Dt ATOL 3 39.Dt ATOL 3
@@ -52,9 +51,9 @@ string to long integer
52The 51The
53.Fn atol 52.Fn atol
54function converts the initial portion of the string pointed to by 53function converts the initial portion of the string pointed to by
55.Ar nptr 54.Fa nptr
56to 55to
57.Em long integer 56.Li long integer
58representation. 57representation.
59.Pp 58.Pp
60It is equivalent to: 59It is equivalent to:
@@ -64,12 +63,12 @@ strtol(nptr, (char **)NULL, 10);
64.Sh SEE ALSO 63.Sh SEE ALSO
65.Xr atof 3 , 64.Xr atof 3 ,
66.Xr atoi 3 , 65.Xr atoi 3 ,
66.Xr atoll 3 ,
67.Xr strtod 3 , 67.Xr strtod 3 ,
68.Xr strtol 3 , 68.Xr strtol 3 ,
69.Xr strtoul 3 69.Xr strtoul 3
70.Sh STANDARDS 70.Sh STANDARDS
71The 71The
72.Fn atol 72.Fn atol
73function 73function conforms to
74conforms to 74.St -ansiC-99 .
75.St -ansiC .