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-systemtype, and this value is used by fsmount(2).typelist is a null-terminated list of pointers; each onepoints 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. Thepathnames indicate the directories where file-system-dependent utilities may be found. This entry in/etc/fstypes is not required. pathlist is a null pointer ifthe entry is missing.The data in this structure and referenced static data areoverwritten by a subsequent call to fstypent or typefs.STATUS MESSAGES AND VALUESThe fstypent program returns a pointer of type structfstypent (see fstyp(3)). A null pointer is returned onend-of-file or error.FILES/etc/fstypesFile containing file system typesSEE ALSOJanuary 1992 1