Boring whitespace fixes.
This commit is contained in:
parent
4c17cdc321
commit
72b9df9677
|
@ -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 @@ conform to
|
|||
.St -ansiC .
|
||||
The function
|
||||
.Fn fileno
|
||||
conforms to
|
||||
conforms to
|
||||
.St -p1003.1-90 .
|
||||
|
|
|
@ -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 @@ The new position, measured in bytes, is obtained by adding
|
|||
.Fa offset
|
||||
bytes to the position specified by
|
||||
.Fa whence .
|
||||
If
|
||||
If
|
||||
.Fa whence
|
||||
is set to
|
||||
.Dv SEEK_SET ,
|
||||
|
@ -145,7 +145,7 @@ and
|
|||
(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 @@ return 0,
|
|||
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 @@ is not a seekable stream.
|
|||
.It Bq Er EINVAL
|
||||
The
|
||||
.Fa whence
|
||||
argument to
|
||||
argument to
|
||||
.Fn fseek
|
||||
was not
|
||||
.Dv SEEK_SET ,
|
||||
|
@ -220,7 +220,7 @@ for any of the errors specified for the routines
|
|||
.Xr fflush 3 ,
|
||||
.Xr fstat 2 ,
|
||||
.Xr lseek 2 ,
|
||||
and
|
||||
and
|
||||
.Xr malloc 3 .
|
||||
.Sh SEE ALSO
|
||||
.Xr lseek 2
|
||||
|
|
|
@ -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 @@ The
|
|||
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 @@ close the new stream.
|
|||
.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 @@ and
|
|||
.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 @@ Additionally, all of the functions should set the external variable
|
|||
.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 @@ as calls to
|
|||
.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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 @@ output or input is read from any stream attached to a terminal device
|
|||
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 @@ The
|
|||
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 @@ but may have peculiar side effects
|
|||
(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
|
||||
|
|
|
@ -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 @@ At program startup, three streams are predefined and need not be
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue