12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- #ifndef _FSTAB_H
- #define _FSTAB_H 1
- #include <features.h>
- #define _PATH_FSTAB "/etc/fstab"
- #define FSTAB "/etc/fstab"
- #define FSTAB_RW "rw"
- #define FSTAB_RQ "rq"
- #define FSTAB_RO "ro"
- #define FSTAB_SW "sw"
- #define FSTAB_XX "xx"
- struct fstab
- {
- char *fs_spec;
- char *fs_file;
- char *fs_vfstype;
- char *fs_mntops;
- const char *fs_type;
- int fs_freq;
- int fs_passno;
- };
- __BEGIN_DECLS
- extern struct fstab *getfsent (void) __THROW;
- extern struct fstab *getfsspec (const char *__name) __THROW;
- extern struct fstab *getfsfile (const char *__name) __THROW;
- extern int setfsent (void) __THROW;
- extern void endfsent (void) __THROW;
- __END_DECLS
- #endif
|