Ruby
2.4.2p198(2017-09-14revision59899)
|
Go to the source code of this file.
Data Structures | |
struct | rb_w32_reparse_buffer_t |
Macros | |
#define | MAX_REPARSE_PATH_LEN 4092 |
#define | rb_w32_reparse_buffer_size(n) |
#define | HAVE_FCHMOD 0 |
Enumerations | |
enum | { MINIMUM_REPARSE_BUFFER_PATH_LEN = 4 } |
Functions | |
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) |
int | fchmod (int fd, int mode) |
UINT | rb_w32_filecp (void) |
WCHAR * | rb_w32_home_dir (void) |
#define HAVE_FCHMOD 0 |
Definition at line 43 of file file.h.
Referenced by rb_file_chmod().
#define rb_w32_reparse_buffer_size | ( | n | ) |
Definition at line 33 of file file.h.
Referenced by rb_readlink(), rb_w32_reparse_symlink_p(), and w32_readlink().
int fchmod | ( | int | fd, |
int | mode | ||
) |
Definition at line 7481 of file win32.c.
References errno, get_proc_address(), if(), map_errno, and NULL.
Referenced by argf_next_argv(), and rb_file_chmod().
int lchown | ( | const char * | path, |
int | owner, | ||
int | group | ||
) |
Definition at line 4711 of file win32.c.
Referenced by rb_file_chown().
UINT rb_w32_filecp | ( | void | ) |
Referenced by rb_default_home_dir().
WCHAR* rb_w32_home_dir | ( | void | ) |
Definition at line 540 of file win32.c.
References ALLOC_N, CSIDL_PROFILE, get_special_folder(), L, len, NULL, REALLOC_N, regulate_path(), and xfree().
Referenced by rb_default_home_dir(), and rb_file_expand_path_internal().
int rb_w32_read_reparse_point | ( | const WCHAR * | path, |
rb_w32_reparse_buffer_t * | rp, | ||
size_t | bufsize, | ||
WCHAR ** | result, | ||
DWORD * | len | ||
) |
Definition at line 4947 of file win32.c.
References IO_REPARSE_TAG_SYMLINK, L, memcmp(), rb_w32_reparse_buffer_t::MountPointReparseBuffer, name, rb_strlen_lit, reparse_symlink(), rb_w32_reparse_buffer_t::ReparseTag, rb_w32_reparse_buffer_t::SymbolicLinkReparseBuffer, and translate_wchar().
Referenced by rb_readlink(), rb_w32_reparse_symlink_p(), and w32_readlink().