getfsent(3X)															      getfsent(3X)

NAME
getfsent(), getfsspec(), getfsfile(), getfstype(), setfsent(), endfsent() - get file system descriptor file entry SYNOPSIS
Remarks: These routines are included only for compatibility with 4.2 BSD. For maximum portability and improved functionality, new applications should use the getmntent(3X) library routines. DESCRIPTION
and each returns a pointer to an object with the following structure containing the broken-out fields of a line in the file. The structure is declared in the header file: The fields have meanings described in fstab(4). If the block special file name, the file system directory name, and the type are not all defined on the associated line in these routines return pointers to NULL in the and fields. If the pass number or the backup frequency field are not present on the line, these routines return -1 in the corresponding structure member. is reserved for future use. Reads the next line of the file, opening the file if necessary. Opens and rewinds the file. Closes the file. Sequentially searches from beginning of file until a matching special file name is found, or until EOF is encountered. Sequentially searches from the beginning of the file until a matching file system file name is found, or until EOF is encountered. Sequentially searches from the beginning of the file until a matching file system type field is found, or until EOF is encountered. DIAGNOSTICS
A null pointer is returned on EOF, invalid entry, or error. WARNINGS
Since all information is contained in a static area, it must be copied to be saved. Obsolescent Interfaces and are to be obsoleted at a future date. AUTHOR
was developed by HP and the University of California, Berkeley. FILES
SEE ALSO
fstab(4). TO BE OBSOLETED getfsent(3X)