/src/rt/release.sh: really stop when patches could not be applied
[msysgit.git] / include / mntent.h
blobfde1680a089bcdf25f2ea6e0a26573bfbf9ad112
1 /* mntent.h
3 Copyright 1996, 1998, 1999, 2000, 2001 Red Hat, Inc.
5 This file is part of Cygwin.
7 This software is a copyrighted work licensed under the terms of the
8 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
9 details. */
11 #ifndef _MNTENT_H
12 #define _MNTENT_H
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
18 struct mntent
20 char *mnt_fsname;
21 char *mnt_dir;
22 char *mnt_type;
23 char *mnt_opts;
24 int mnt_freq;
25 int mnt_passno;
28 #ifndef _NOMNTENT_FUNCS
29 FILE *setmntent (const char *__filep, const char *__type);
30 struct mntent *getmntent (FILE *__filep);
31 int addmntent (FILE *__filep, const struct mntent *__mnt);
32 int endmntent (FILE *__filep);
33 char *hasmntopt (const struct mntent *__mnt, const char *__opt);
34 #endif
36 /* This next file doesn't exist, it is in the registry,
37 however applications need the define to pass to
38 the above calls.
40 #ifndef MOUNTED
41 #define MOUNTED "/etc/mtab"
42 #endif
43 #ifdef __cplusplus
45 #endif
47 #endif /* _MNTENT_H */