FD_GETFSENT(3H) — Pixar Programmer’s Manual — libfd
NAME
fd_getfsent− get fast-disk filesystem description table entry
fd_setfsent− rewind fast-disk filesystem table file
fd_endfsent− close fast-disk filesystem table file
SYNOPSIS
#include <fd.h>
struct fdfstab ∗fd_getfsent()
int fd_setfsent()
int fd_endfsent()
DESCRIPTION
Fd_getfsent returns a pointer to a structure containing the broken-out fields of a line from the Fast-Disk filesystem configuration table (see fdmount(5)).
struct fdfstab {
char∗fs_dev;
char∗fs_mountpoint;
};
Fs_dev is the NUL-terminated name of a Fast-Disk device, such as /dev/rmx0b, where the filesystem resides. Fs_mountpoint is a Fast-Disk filesystem pathname beginning with a ’/’, indicating the point in the Fast-Disk directory hierarchy where the filesystem appears.
Each call to fd_getfsent returns the next entry from the table; NULL is returned when the end of the table is reached.
Fd_setfsent rewinds to the beginning of the table.
Fd_endfsent should be called after the application has finished reading the table.
FILES
/etc/fdmount
SEE ALSO
Release β — Last change: 3/24/89