diff options
Diffstat (limited to 'lib/libc/gen/getfsent.3')
-rw-r--r-- | lib/libc/gen/getfsent.3 | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/libc/gen/getfsent.3 b/lib/libc/gen/getfsent.3 index 6d3642b2fbd..39b0d228ee2 100644 --- a/lib/libc/gen/getfsent.3 +++ b/lib/libc/gen/getfsent.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getfsent.3,v 1.3 1999/05/23 14:10:59 aaron Exp $ +.\" $OpenBSD: getfsent.3,v 1.4 1999/05/29 19:11:11 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -79,15 +79,11 @@ struct fstab { The fields have meanings described in .Xr fstab 5 . .Pp -The .Fn setfsent -function opens the file (closing any previously opened file) or rewinds it if it is already open. .Pp -The .Fn endfsent -function closes the file. .Pp The @@ -112,13 +108,15 @@ The and .Fn getfsfile functions -return a null pointer (0) on +return a +.Dv NULL +pointer on .Dv EOF or error. The .Fn setfsent function -returns 0 on failure, 1 on success. +returns 0 on failure or 1 on success. The .Fn endfsent function @@ -126,6 +124,7 @@ returns nothing. .Sh FILES .Bl -tag -width /etc/fstab -compact .It Pa /etc/fstab +file system table .El .Sh SEE ALSO .Xr fstab 5 |