Ruby  2.5.0dev(2017-10-22revision60238)
Data Structures | Macros | Enumerations | Functions
file.h File Reference

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)
 

Macro Definition Documentation

◆ HAVE_FCHMOD

#define HAVE_FCHMOD   0

Definition at line 43 of file file.h.

◆ MAX_REPARSE_PATH_LEN

#define MAX_REPARSE_PATH_LEN   4092

Definition at line 4 of file file.h.

◆ rb_w32_reparse_buffer_size

#define rb_w32_reparse_buffer_size (   n)
Value:

Definition at line 33 of file file.h.

Referenced by rb_w32_reparse_symlink_p().

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MINIMUM_REPARSE_BUFFER_PATH_LEN 

Definition at line 6 of file file.h.

Function Documentation

◆ fchmod()

int fchmod ( int  fd,
int  mode 
)

Definition at line 7572 of file win32.c.

References errno.

◆ lchown()

int lchown ( const char *  path,
int  owner,
int  group 
)

Definition at line 4770 of file win32.c.

◆ rb_w32_filecp()

UINT rb_w32_filecp ( void  )

◆ rb_w32_home_dir()

WCHAR* rb_w32_home_dir ( void  )

Definition at line 540 of file win32.c.

References ALLOC_N, len, and NULL.

◆ rb_w32_read_reparse_point()

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 5006 of file win32.c.

Referenced by rb_w32_reparse_symlink_p().

◆ rb_w32_ulchown()

int rb_w32_ulchown ( const char *  path,
int  owner,
int  group 
)

Definition at line 4776 of file win32.c.