blob: b035bfa9c33077d274c7cbf218aed46b2a30edd3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef MNTENT_H
#define MNTENT_H
#include <stdio.h>
struct mntent {
char *mnt_fsname; /* Device or server for filesystem. */
char *mnt_dir; /* Directory mounted on. */
char *mnt_type; /* Type of filesystem: ufs, nfs, etc. */
char *mnt_opts; /* Comma-separated options for fs. */
int mnt_freq; /* Dump frequency (in days). */
int mnt_passno; /* Pass number for `fsck'. */
};
extern FILE *setmntent(const char *file, const char *mode);
extern struct mntent *getmntent(FILE *stream);
extern int endmntent(FILE *stream);
#endif
|