*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: getfsent | Section: 3 | Source: UNIX v10 | File: getfsent.3
GETFSENT(3) Library Functions Manual GETFSENT(3) NAME getfsent, getfsspec, getfsfile, setfsent, endfsent - get file system description file entry SYNOPSIS #include <fstab.h> struct fstab *getfsent() struct fstab *getfsspec(name) char *name; struct fstab *getfsfile(name) char *name; int setfsent() int endfsent() DESCRIPTION Getfsent, getfsspec and getfsfile each return a pointer to a structure containing the broken-out fields of a line in fstab(5), which describes mountable file systems. struct fstab { char fs_spec[FSNMLG]; block device name char fs_file[FSNMLG]; file system mount point int fs_ftype; file system type int fs_flags; file system flags int fs_passno; pass number for parallel fsck(8) }; Type numbers and flags are listed in fmount(2). Entries that aren't file systems (should not be mounted) have negative values for (-1) Ignore this entry. (-2) is a device available for swapping. Getfsent reads the next line of the file, opening the file if neces- sary. 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. FILES SEE ALSO fmount(2), fstab(5) DIAGNOSTICS Zero is returned on EOF or error. BUGS The return values point to static data whose content is overwritten by each call. GETFSENT(3)

Navigation Options