]>
Commit | Line | Data |
---|---|---|
f79026b4 VM |
1 | #ifndef INCLUDE_posix__w32_h__ |
2 | #define INCLUDE_posix__w32_h__ | |
3 | ||
4 | #include "common.h" | |
e9c6571d | 5 | #include "fnmatch.h" |
f79026b4 VM |
6 | |
7 | GIT_INLINE(int) p_link(const char *GIT_UNUSED(old), const char *GIT_UNUSED(new)) | |
8 | { | |
9 | GIT_UNUSED_ARG(old) | |
10 | GIT_UNUSED_ARG(new) | |
11 | errno = ENOSYS; | |
12 | return -1; | |
13 | } | |
14 | ||
15 | GIT_INLINE(int) p_mkdir(const char *path, int GIT_UNUSED(mode)) | |
16 | { | |
17 | GIT_UNUSED_ARG(mode) | |
18 | return mkdir(path); | |
19 | } | |
20 | ||
21 | extern int p_unlink(const char *path); | |
22 | extern int p_lstat(const char *file_name, struct stat *buf); | |
23 | extern int p_readlink(const char *link, char *target, size_t target_len); | |
24 | extern int p_hide_directory__w32(const char *path); | |
19ac1ed7 | 25 | extern char *p_realpath(const char *orig_path, char *buffer); |
2fc78e70 | 26 | extern int p_vsnprintf(char *buffer, size_t count, const char *format, va_list argptr); |
f79026b4 VM |
27 | |
28 | #endif |