diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-24 21:34:45 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-24 21:34:45 +0000 |
commit | ba5f2cffa5d0f6bc1288014881e51d8db4313096 (patch) | |
tree | e8c2ce5c55aee7ffde3c876d320262b46db4c8bb /include/ruby | |
parent | 9a36fe3f63520348723db3ff8be0c4f587fa2c3d (diff) | |
download | ruby-ba5f2cffa5d0f6bc1288014881e51d8db4313096.tar.gz |
win32.c: symlink
* win32/win32.c (w32_symlink): implement symlink().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/win32.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h index 7bf389d8e1..e6bc077206 100644 --- a/include/ruby/win32.h +++ b/include/ruby/win32.h @@ -289,6 +289,8 @@ extern int rb_w32_ulink(const char *, const char *); extern ssize_t readlink(const char *, char *, size_t); extern ssize_t rb_w32_ureadlink(const char *, char *, size_t); extern ssize_t rb_w32_wreadlink(const WCHAR *, WCHAR *, size_t); +extern int symlink(const char *src, const char *link); +extern int rb_w32_usymlink(const char *src, const char *link); extern int gettimeofday(struct timeval *, struct timezone *); extern int clock_gettime(clockid_t, struct timespec *); extern int clock_getres(clockid_t, struct timespec *); |