summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/strtol.3
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-06-29 18:36:25 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-06-29 18:36:25 +0000
commita6c232271aea12309a16ff09ab3805479f2cd458 (patch)
treef59a946b0ea15e5edfbd04a167f2aa646f7eb06c /lib/libc/stdlib/strtol.3
parent2c9812a5e42aed1da9bee32d389811387397705c (diff)
first round of repairs on stdlib
Diffstat (limited to 'lib/libc/stdlib/strtol.3')
-rw-r--r--lib/libc/stdlib/strtol.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdlib/strtol.3 b/lib/libc/stdlib/strtol.3
index b7d2cd12255..006ba904a57 100644
--- a/lib/libc/stdlib/strtol.3
+++ b/lib/libc/stdlib/strtol.3
@@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: strtol.3,v 1.3 1996/08/19 08:33:51 tholo Exp $
+.\" $OpenBSD: strtol.3,v 1.4 1999/06/29 18:36:23 aaron Exp $
.\"
.Dd June 25, 1992
.Dt STRTOL 3
@@ -59,7 +59,7 @@ function
converts the string in
.Fa nptr
to a
-.Em long
+.Li long
value.
The
.Fn strtoq
@@ -67,7 +67,7 @@ function
converts the string in
.Fa nptr
to a
-.Em quad_t
+.Li quad_t
value.
The conversion is done according to the given
.Fa base ,
@@ -95,7 +95,7 @@ is taken as 10 (decimal) unless the next character is
in which case it is taken as 8 (octal).
.Pp
The remainder of the string is converted to a
-.Em long
+.Li long
value in the obvious manner,
stopping at the first character which is not a valid digit
in the given base.