getfsent(3) Library Functions Manual getfsent(3) getfsent, getfsspec, getfsfile, setfsent, endfsent - fstab (libc -lc) #include int setfsent(void); struct fstab *getfsent(void); void endfsent(void); struct fstab *getfsfile(const char *mount_point); struct fstab *getfsspec(const char *special_file); /etc/fstab. struct fstab : struct fstab { char *fs_spec; /* */ char *fs_file; /* */ char *fs_vfstype; /* */ char *fs_mntops; /* */ const char *fs_type; /* rw/rq/ro/sw/xx */ int fs_freq; /* */ int fs_passno; /* */ }; fs_type ( *BSD) "rw" "rq" "ro" "sw" "xx" (- - ). setfsent() . getfsent() . ( .) endfsent() . getfsspec() fs_spec special_file. getfsfile() fs_file mount_point. getfsent() getfsfile() getfsspec() struct fstab setfsent() 1. NULL 0 . attributes(7). +----------------------+------------------------------------+----------+ | | | | +----------------------+------------------------------------+----------+ |endfsent(), | | MT-Unsafe | |setfsent() | | race:fsent | +----------------------+------------------------------------+----------+ |getfsent(), | | MT-Unsafe | |getfsspec(), | | race:fsent | |getfsfile() | | locale | +----------------------+------------------------------------+----------+ *BSD SunOS Digital UNIX AIX ( getfstype()). HP-UX struct checklist struct fstab getmntent(3). . getfsent() 4.0BSD 4.3BSD. . getfsfile() getfsspec() . getmntent(3) fstab(5) 3 . . : . 6.18 8 2026 getfsent(3)