]> sourceware.org Git - newlib-cygwin.git/blame_incremental - winsup/utils/path.h
Cygwin: sigfe: Fix a bug that signal handler destroys fpu states
[newlib-cygwin.git] / winsup / utils / path.h
... / ...
CommitLineData
1/* path.h
2
3This file is part of Cygwin.
4
5This software is a copyrighted work licensed under the terms of the
6Cygwin license. Please consult the file "CYGWIN_LICENSE" for
7details. */
8
9#ifndef _PATH_H_
10#define _PATH_H_
11
12struct mnt_t
13{
14 char *native;
15 char *posix;
16 unsigned flags;
17};
18
19char *cygpath (const char *s, ...);
20char *cygpath_rel (const char *cwd, const char *s, ...);
21bool is_exe (HANDLE);
22bool is_symlink (HANDLE);
23bool readlink (HANDLE, char *, size_t);
24int get_word (HANDLE, int);
25int get_dword (HANDLE, int);
26bool from_fstab_line (mnt_t *m, char *line, bool user);
27
28extern mnt_t mount_table[255];
29extern int max_mount_entry;
30
31#ifndef SYMLINK_MAX
32#define SYMLINK_MAX 4095 /* PATH_MAX - 1 */
33#endif
34
35DWORD testsuite_getcwd (DWORD nBufferLength, LPSTR lpBuffer);
36void testsuite_read_mounts (void);
37
38#endif
This page took 0.022795 seconds and 6 git commands to generate.