File: mntent.h

package info (click to toggle)
klibc 2.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,240 kB
  • sloc: ansic: 48,401; asm: 2,531; perl: 789; makefile: 231; sh: 160
file content (21 lines) | stat: -rw-r--r-- 549 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _MNTENT_H
#define _MNTENT_H       1

#define MNTTYPE_SWAP	"swap"

struct mntent {
	char *mnt_fsname;	/* name of mounted file system */
	char *mnt_dir;		/* file system path prefix */
	char *mnt_type;		/* mount type (see mntent.h) */
	char *mnt_opts;		/* mount options (see mntent.h) */
	int   mnt_freq;		/* dump frequency in days */
	int   mnt_passno;	/* pass number on parallel fsck */
};

extern FILE *setmntent(const char *, const char *);

extern struct mntent *getmntent(FILE *);

extern int endmntent(FILE *fp);

#endif  /* mntent.h */