#include <fstab.h>
struct fstab *getfsent()
struct fstab *getfsspec(spec) char *spec;
struct fstab *getfsfile(file) char *file;
struct fstab *getfstype(type) char *type;
int setfsent()
int endfsent()
struct fstab { char *fs_spec; char *fs_file; char *fs_type; int fs_freq; int fs_passno; };
The fields have meanings described in fstab.5
Getfsent reads the next line of the file, opening the file if necessary.
Setfsent opens and rewinds the file.
Endfsent closes the file.
Getfsspec and getfsfile 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. Getfstype does likewise, matching on the file system type field.
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97