.\" Copyright (c) 1980 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)getfsent.3 6.3 (Berkeley) %G%
getfsent, getfsspec, getfsfile, getfstype, setfsent, endfsent \- get file system descriptor file entry
.B struct fstab *getfsent()
.B struct fstab *getfsspec(spec)
.B struct fstab *getfsfile(file)
.B struct fstab *getfstype(type)
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,
The fields have meanings described in
reads the next line of the file, opening the file if necessary.
opens and rewinds the file.
sequentially search from the beginning of the file until a matching
special file name or file system file name is found,
or until EOF is encountered.
does likewise, matching on the file system type field.
(0) returned on EOF or error.
All information is contained in a static area so it must be copied if it is