summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2011-09-03 23:24:52 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2011-09-03 23:24:52 +0000
commit05768381d39e27d36bd909e03234c2ab49d6472e (patch)
tree73256b59d02b8fb772bba9b92dd371c970a3f9bb /lib
parent0451f3d56ea81c5bb90e2ad8622098dcbf5878cd (diff)
some minor tweaks;
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdio/stdio.317
-rw-r--r--lib/libc/stdlib/strtol.34
2 files changed, 8 insertions, 13 deletions
diff --git a/lib/libc/stdio/stdio.3 b/lib/libc/stdio/stdio.3
index 431078712ae..e1dccb6ee7b 100644
--- a/lib/libc/stdio/stdio.3
+++ b/lib/libc/stdio/stdio.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: stdio.3,v 1.21 2011/09/03 22:59:07 jmc Exp $
+.\" $OpenBSD: stdio.3,v 1.22 2011/09/03 23:24:51 jmc Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -40,13 +40,9 @@
.Fd FILE *stdout;
.Fd FILE *stderr;
.Sh DESCRIPTION
-The standard
-.Tn I/O
-library provides a simple and efficient buffered stream
-.Tn I/O
-interface.
-Input and output is mapped into logical data streams and the physical
-.Tn I/O
+The standard I/O library
+provides a simple and efficient buffered stream I/O interface.
+Input and output is mapped into logical data streams and the physical I/O
characteristics are concealed.
The functions and macros are listed below;
more information is available from the individual man pages.
@@ -160,11 +156,10 @@ function.
.Pp
The
.Nm stdio
-library is a part of the library
-.Xr libc
+library is a part of the library libc
and routines are automatically loaded as needed by the compiler.
The
-.Tn SYNOPSIS
+.Sx SYNOPSIS
sections of the following manual pages indicate which include files
are to be used, what the compiler declaration for the function
looks like, and which external variables are of interest.
diff --git a/lib/libc/stdlib/strtol.3 b/lib/libc/stdlib/strtol.3
index 8575e2cf580..6f9037a645d 100644
--- a/lib/libc/stdlib/strtol.3
+++ b/lib/libc/stdlib/strtol.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: strtol.3,v 1.21 2011/09/03 22:59:07 jmc Exp $
+.\" $OpenBSD: strtol.3,v 1.22 2011/09/03 23:24:51 jmc Exp $
.\"
.Dd $Mdocdate: September 3 2011 $
.Dt STRTOL 3
@@ -157,7 +157,7 @@ If no conversion could be performed, 0 is returned;
the global variable
.Va errno
is also set to
-.Er EINVAL,
+.Er EINVAL ,
though this is not portable across all platforms.
If overflow or underflow occurs,
.Va errno