Commit /bin/cc.exe (a hardlink of /bin/gcc.exe)
[msysgit.git] / include / sys / mount.h
blob2c7e5b31e38423ac60ff586944facb4cc1913629
1 /* sys/mount.h
3 Copyright 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 _SYS_MOUNT_H
12 #define _SYS_MOUNT_H
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
18 enum
20 MOUNT_TEXT = 0x000, /* "text" format read/writes */
21 MOUNT_SYMLINK = 0x001, /* "mount point" is a symlink */
22 MOUNT_BINARY = 0x002, /* "binary" format read/writes */
23 MOUNT_SYSTEM = 0x008, /* mount point came from system table */
24 MOUNT_EXEC = 0x010, /* Any file in the mounted directory gets 'x' bit */
25 MOUNT_AUTO = 0x020, /* mount point refers to auto device mount */
26 MOUNT_CYGWIN_EXEC = 0x040, /* file or directory is or contains a cygwin
27 executable */
28 MOUNT_MIXED = 0x080, /* reads are text, writes are binary */
31 int mount (const char *, const char *, unsigned __flags);
32 int umount (const char *);
33 int cygwin_umount (const char *__path, unsigned __flags);
35 #ifdef __cplusplus
37 #endif
39 #endif /* _SYS_MOUNT_H */