summaryrefslogtreecommitdiff
path: root/win32/file.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-08-26 05:21:41 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-08-26 05:21:41 (GMT)
commit597da7b2d0720fc0dd4f8980c628320bd4e26f37 (patch)
tree964198af62ae754ba938ba07b5300b19ad6174b7 /win32/file.h
parentf4b66d24bbe8258b2d3964f4bbaa7f565478126b (diff)
win32.c: fake lchown
* win32/win32.c (lchown, rb_w32_ulchown): fake lchown. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/file.h')
-rw-r--r--win32/file.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/file.h b/win32/file.h
index 95a792a..deebbfa 100644
--- a/win32/file.h
+++ b/win32/file.h
@@ -37,4 +37,7 @@ typedef struct {
int rb_w32_read_reparse_point(const WCHAR *path, rb_w32_reparse_buffer_t *rp,
size_t bufsize, WCHAR **result, DWORD *len);
+int lchown(const char *path, int owner, int group);
+int rb_w32_ulchown(const char *path, int owner, int group);
+
#endif /* RUBY_WIN32_FILE_H */