]> sourceware.org Git - newlib-cygwin.git/blob - winsup/utils/path.h
Cygwin: add 3.2.1 release file and add fixes up to this point
[newlib-cygwin.git] / winsup / utils / path.h
1 /* path.h
2
3 This file is part of Cygwin.
4
5 This software is a copyrighted work licensed under the terms of the
6 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
7 details. */
8
9 struct mnt_t
10 {
11 char *native;
12 char *posix;
13 unsigned flags;
14 };
15
16 char *cygpath (const char *s, ...);
17 char *cygpath_rel (const char *cwd, const char *s, ...);
18 bool is_exe (HANDLE);
19 bool is_symlink (HANDLE);
20 bool readlink (HANDLE, char *, size_t);
21 int get_word (HANDLE, int);
22 int get_dword (HANDLE, int);
23 bool from_fstab_line (mnt_t *m, char *line, bool user);
24
25 #ifndef TESTSUITE
26 extern mnt_t mount_table[255];
27 extern int max_mount_entry;
28 #endif
29
30 #ifndef SYMLINK_MAX
31 #define SYMLINK_MAX 4095 /* PATH_MAX - 1 */
32 #endif
This page took 0.035352 seconds and 5 git commands to generate.