diff options
author | Chris Wilson <chris+github@qwirx.com> | 2015-01-04 19:41:50 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2015-01-04 19:41:50 +0000 |
commit | 57081a4a47e9c1c66f3f6bb7eae3903892ce407d (patch) | |
tree | 795c9371afb637a75b305c6ac6d0fa2506d39dbf /lib/win32/emu.h | |
parent | efda4b302a2494017563e2c9d6c4ce3b0098c61d (diff) |
Add test for hardlink handling.
Diffstat (limited to 'lib/win32/emu.h')
-rw-r--r-- | lib/win32/emu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/win32/emu.h b/lib/win32/emu.h index c28b0bdb..05f2f561 100644 --- a/lib/win32/emu.h +++ b/lib/win32/emu.h @@ -353,6 +353,7 @@ bool ConvertTime_tToFileTime(const time_t from, FILETIME *pTo); int emu_chdir (const char* pDirName); int emu_mkdir (const char* pPathName); +int emu_link (const char* pOldPath, const char* pNewPath); int emu_unlink (const char* pFileName); int emu_fstat (HANDLE file, struct emu_stat* st); int emu_stat (const char* pName, struct emu_stat* st); @@ -363,6 +364,7 @@ int emu_rename (const char* pOldName, const char* pNewName); #define chdir(directory) emu_chdir (directory) #define mkdir(path, mode) emu_mkdir (path) +#define link(oldpath, newpath) emu_link (oldpath, newpath) #define unlink(file) emu_unlink (file) #define utimes(buffer, times) emu_utimes (buffer, times) #define chmod(file, mode) emu_chmod (file, mode) |