Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/stdio Boring whitespace fixes.
details: https://anonhg.NetBSD.org/src/rev/fa571b0acb0f
branches: trunk
changeset: 515030:fa571b0acb0f
user: wiz <wiz%NetBSD.org@localhost>
date: Sun Sep 16 02:08:55 2001 +0000
description:
Boring whitespace fixes.
diffstat:
lib/libc/stdio/ferror.3 | 4 ++--
lib/libc/stdio/fseek.3 | 14 +++++++-------
lib/libc/stdio/funopen.3 | 12 ++++++------
lib/libc/stdio/remove.3 | 6 +++---
lib/libc/stdio/setbuf.3 | 8 ++++----
lib/libc/stdio/stdio.3 | 6 +++---
6 files changed, 25 insertions(+), 25 deletions(-)
diffs (214 lines):
diff -r ed2fa774d679 -r fa571b0acb0f lib/libc/stdio/ferror.3
--- a/lib/libc/stdio/ferror.3 Sun Sep 16 01:41:09 2001 +0000
+++ b/lib/libc/stdio/ferror.3 Sun Sep 16 02:08:55 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: ferror.3,v 1.6 1998/02/05 18:49:14 perry Exp $
+.\" $NetBSD: ferror.3,v 1.7 2001/09/16 02:08:55 wiz Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -104,5 +104,5 @@
.St -ansiC .
The function
.Fn fileno
-conforms to
+conforms to
.St -p1003.1-90 .
diff -r ed2fa774d679 -r fa571b0acb0f lib/libc/stdio/fseek.3
--- a/lib/libc/stdio/fseek.3 Sun Sep 16 01:41:09 2001 +0000
+++ b/lib/libc/stdio/fseek.3 Sun Sep 16 02:08:55 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: fseek.3,v 1.17 2000/12/29 15:22:50 kleink Exp $
+.\" $NetBSD: fseek.3,v 1.18 2001/09/16 02:08:55 wiz Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -77,7 +77,7 @@
.Fa offset
bytes to the position specified by
.Fa whence .
-If
+If
.Fa whence
is set to
.Dv SEEK_SET ,
@@ -145,7 +145,7 @@
(with whence set to
.Dv SEEK_SET
), setting and storing the current value of
-the file offset into or from the object referenced by
+the file offset into or from the object referenced by
.Fa pos .
On systems other than
.Ux ,
@@ -166,13 +166,13 @@
and
.Fn ftell
returns the current offset.
-Otherwise,
+Otherwise,
.Fn fseek
and
.Fn ftell
return \-1 and
the others
-return a nonzero value and the global variable
+return a nonzero value and the global variable
.Va errno
is set to indicate the error.
.Sh ERRORS
@@ -185,7 +185,7 @@
.It Bq Er EINVAL
The
.Fa whence
-argument to
+argument to
.Fn fseek
was not
.Dv SEEK_SET ,
@@ -220,7 +220,7 @@
.Xr fflush 3 ,
.Xr fstat 2 ,
.Xr lseek 2 ,
-and
+and
.Xr malloc 3 .
.Sh SEE ALSO
.Xr lseek 2
diff -r ed2fa774d679 -r fa571b0acb0f lib/libc/stdio/funopen.3
--- a/lib/libc/stdio/funopen.3 Sun Sep 16 01:41:09 2001 +0000
+++ b/lib/libc/stdio/funopen.3 Sun Sep 16 02:08:55 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: funopen.3,v 1.9 1998/02/05 18:49:24 perry Exp $
+.\" $NetBSD: funopen.3,v 1.10 2001/09/16 02:08:55 wiz Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -59,7 +59,7 @@
function
associates a stream with up to four
.Dq Tn I/O No functions .
-Either
+Either
.Fa readfn
or
.Fa writefn
@@ -74,7 +74,7 @@
.Pp
In general, omitting a function means that any attempt to perform the
associated operation on the resulting stream will fail.
-If the close function is omitted, closing the stream will flush
+If the close function is omitted, closing the stream will flush
any buffered output and then succeed.
.Pp
The calling conventions of
@@ -91,7 +91,7 @@
.Xr close 2 ;
except that they are passed the
.Fa cookie
-argument specified to
+argument specified to
.Fn funopen
in place of the traditional file descriptor argument,
and
@@ -119,7 +119,7 @@
.Va errno
appropriately if an error occurs.
.Pp
-An error on
+An error on
.Fn closefn
does not keep the stream open.
.Pp
@@ -133,7 +133,7 @@
.Fn funopen
with only a read or write function specified.
.Sh RETURN VALUES
-Upon successful completion,
+Upon successful completion,
.Fn funopen
returns a
.Dv FILE
diff -r ed2fa774d679 -r fa571b0acb0f lib/libc/stdio/remove.3
--- a/lib/libc/stdio/remove.3 Sun Sep 16 01:41:09 2001 +0000
+++ b/lib/libc/stdio/remove.3 Sun Sep 16 02:08:55 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: remove.3,v 1.6 1999/09/26 21:00:25 jdolecek Exp $
+.\" $NetBSD: remove.3,v 1.7 2001/09/16 02:08:55 wiz Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -53,13 +53,13 @@
The
.Fn remove
function
-is an alias for the
+is an alias for the
.Xr unlink 2
system call.
It deletes the file referenced by
.Fa path .
.Sh RETURN VALUES
-Upon successful completion,
+Upon successful completion,
.Fn remove
returns 0.
Otherwise, \-1 is returned and the global variable
diff -r ed2fa774d679 -r fa571b0acb0f lib/libc/stdio/setbuf.3
--- a/lib/libc/stdio/setbuf.3 Sun Sep 16 01:41:09 2001 +0000
+++ b/lib/libc/stdio/setbuf.3 Sun Sep 16 02:08:55 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: setbuf.3,v 1.7 2000/12/29 15:22:52 kleink Exp $
+.\" $NetBSD: setbuf.3,v 1.8 2001/09/16 02:08:55 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -70,7 +70,7 @@
The function
.Xr fflush 3
may be used to force the block out early.
-(See
+(See
.Xr fclose 3 . )
.Pp
Normally all files are block buffered.
@@ -109,7 +109,7 @@
parameter may be given as zero
to obtain deferred optimal-size buffer allocation as usual.
If it is not zero,
-then except for unbuffered files, the
+then except for unbuffered files, the
.Fa buf
argument should point to a buffer at least
.Fa size
@@ -136,7 +136,7 @@
(such as discarding input or flushing output)
if the stream is ``active''.
Portable applications should call it only once on any given stream,
-and before any
+and before any
.Tn I/O
is performed.
.Pp
diff -r ed2fa774d679 -r fa571b0acb0f lib/libc/stdio/stdio.3
--- a/lib/libc/stdio/stdio.3 Sun Sep 16 01:41:09 2001 +0000
+++ b/lib/libc/stdio/stdio.3 Sun Sep 16 02:08:55 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: stdio.3,v 1.9 2001/07/06 18:15:36 abs Exp $
+.\" $NetBSD: stdio.3,v 1.10 2001/09/16 02:08:55 wiz Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -111,10 +111,10 @@
opened explicitly:
.Bl -bullet -compact -offset indent
.It
-.Em standard input
+.Em standard input
(for reading conventional input),
.It
-.Em standard output
+.Em standard output
(for writing conventional output), and
.It
.Em standard error
Home |
Main Index |
Thread Index |
Old Index