fstab.h
#ifndef _FSTAB_H
#define _FSTAB_H 1
#include
#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
|
|