docs/178642: [patch] typo in man page for atol
Hiren Panchasara
hiren at FreeBSD.org
Tue May 14 19:00:01 UTC 2013
>Number: 178642
>Category: docs
>Synopsis: [patch] typo in man page for atol
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue May 14 19:00:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Hiren Panchasara
>Release: current
>Organization:
>Environment:
FreeBSD 10.0-CURRENT #3 r248805M
>Description:
Michael Galassi (michaelgalassi at gmail.com) reports:
I keep getting rejected by the bug submitting form, sorry.
In FreeBSD 9.1-STABLE (and maybe elsewhere), strtoll is mistyped as
stroll (note the lack of the letter 't') twice in the compatibility
section of the manpage for atol(3).
>How-To-Repeat:
>Fix:
Index: lib/libc/stdlib/atol.3
===================================================================
--- lib/libc/stdlib/atol.3 (revision 250603)
+++ lib/libc/stdlib/atol.3 (working copy)
@@ -32,7 +32,7 @@
.\" @(#)atol.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd February 1, 2009
+.Dd May 15, 2013
.Dt ATOL 3
.Os
.Sh NAME
@@ -88,13 +88,13 @@
functions are thin wrappers around
.Fn strtol
and
-.Fn stroll
+.Fn strtoll
respectively, so these functions will affect the value of
.Va errno
in the same way that the
.Fn strtol
and
-.Fn stroll
+.Fn strtoll
functions are able to.
This behavior of
.Fn atol
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list