Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fstypent(3P) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getmntent(3)

typefs(3)

fs(4)

fstab(4)

fstypes(4)

ufs(4)




fstypent(3P) fstypent(3P)
NAME fstypent - gets a file-system-type entry SYNOPSIS #include <stdio.h> #include <sys/fstypent.h> struct fstypent *fstypent(filep) FILE *filep; DESCRIPTION fstypent reads the next line from the file indicated by filep and returns a pointer to a struct fstypent containing this information. The fstypent structure is defined in <sys/fstypent.h>:
struct fstypent {
int fstype;
char **typelist;
char *pathlist;
};
In the above structure, fstype indicates the file-system
type, and this value is used by fsmount(2).
typelist is a null-terminated list of pointers; each one
points to a character string describing a file-system type.
At least one of these types is defined in <mntent.h>.
pathlist is a colon-separated list of pathnames. The
pathnames indicate the directories where file-system-
dependent utilities may be found. This entry in
/etc/fstypes is not required. pathlist is a null pointer if
the entry is missing.
The data in this structure and referenced static data are
overwritten by a subsequent call to fstypent or typefs.
STATUS MESSAGES AND VALUES
The fstypent program returns a pointer of type struct
fstypent (see fstyp(3)). A null pointer is returned on
end-of-file or error.
FILES
/etc/fstypes
File containing file system types
SEE ALSO
getmntent(3), typefs(3), fs(4), fstab(4), fstypes(4), ufs(4)
January 1992 1

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026