summaryrefslogtreecommitdiff
path: root/lib/libc/gen/getfsent.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/getfsent.3')
-rw-r--r--lib/libc/gen/getfsent.321
1 files changed, 8 insertions, 13 deletions
diff --git a/lib/libc/gen/getfsent.3 b/lib/libc/gen/getfsent.3
index cde6016b2a6..038607887a3 100644
--- a/lib/libc/gen/getfsent.3
+++ b/lib/libc/gen/getfsent.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getfsent.3,v 1.6 1999/07/09 13:35:16 aaron Exp $
+.\" $OpenBSD: getfsent.3,v 1.7 2000/12/24 00:30:48 aaron Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -59,8 +59,7 @@ The
.Fn getfsspec ,
and
.Fn getfsfile
-functions
-each return a pointer to an object with the following structure
+functions each return a pointer to an object with the following structure
containing the broken-out fields of a line in the file system
description file,
.Aq Pa fstab.h .
@@ -90,9 +89,8 @@ The
.Fn getfsspec
and
.Fn getfsfile
-functions
-search the entire file (opening it if necessary) for a matching special
-file name or file system file name.
+functions search the entire file (opening it if necessary) for a matching
+special file name or file system file name.
.Pp
For programs wishing to read the entire database,
.Fn getfsent
@@ -112,12 +110,10 @@ functions return a null pointer on
or error.
The
.Fn setfsent
-function
-returns 0 on failure or 1 on success.
+function returns 0 on failure or 1 on success.
The
.Fn endfsent
-function
-returns nothing.
+function returns nothing.
.Sh FILES
.Bl -tag -width /etc/fstab -compact
.It Pa /etc/fstab
@@ -139,6 +135,5 @@ and
functions appeared in
.Bx 4.3 .
.Sh BUGS
-These functions use static data storage;
-if the data is needed for future use, it should be
-copied before any subsequent calls overwrite it.
+These functions use static data storage; if the data is needed for future use,
+it should be copied before any subsequent calls overwrite it.