5755459 [rkeene@sledge /home/rkeene/devel/cygwin-stuff/cyg-root/usr/include]$ cat -n mntent.h
 1 #ifndef _MNTENT_H
 2 #define _MNTENT_H
 3 
 4 #ifdef __cplusplus
 5 extern "C" {
 6 #endif
 7 
 8 struct mntent
 9 {
10   char *mnt_fsname;
11   char *mnt_dir;
12   char *mnt_type;
13   char *mnt_opts;
14   int mnt_freq;
15   int mnt_passno;
16 };
17 
18 #ifndef _NOMNTENT_FUNCS
19 FILE *setmntent (const char *__filep, const char *__type);
20 struct mntent *getmntent (FILE *__filep);
21 int addmntent (FILE *__filep, const struct mntent *__mnt);
22 int endmntent (FILE *__filep);
23 char *hasmntopt (const struct mntent *__mnt, const char *__opt);
24 #endif
25 
26 /* This next file doesn't exist, it is in the registry,
27    however applications need the define to pass to
28    the above calls.
29 */
30 #ifndef MOUNTED
31 #define MOUNTED "/etc/mtab"
32 #endif
33 #ifdef __cplusplus
34 };
35 #endif
36 
37 #endif /* _MNTENT_H */
5755460 [rkeene@sledge /home/rkeene/devel/cygwin-stuff/cyg-root/usr/include]$

Click here to go back to the directory listing.
Click here to download this file.
last modified: 2001-01-31 15:09:08