Ruby
2.5.0dev(2017-10-22revision60238)
|
Go to the source code of this file.
Data Structures | |
struct | direct |
struct | DIR |
Macros | |
#define | DT_UNKNOWN 0 |
#define | DT_DIR (S_IFDIR>>12) |
#define | DT_REG (S_IFREG>>12) |
#define | DT_LNK 10 |
#define | opendir(s) rb_w32_opendir((s)) |
#define | readdir(d) rb_w32_readdir((d), 0) |
#define | telldir(d) rb_w32_telldir((d)) |
#define | seekdir(d, l) rb_w32_seekdir((d), (l)) |
#define | rewinddir(d) rb_w32_rewinddir((d)) |
#define | closedir(d) rb_w32_closedir((d)) |
Functions | |
DIR * | rb_w32_opendir (const char *) |
DIR * | rb_w32_uopendir (const char *) |
struct direct * | rb_w32_readdir (DIR *, rb_encoding *) |
long | rb_w32_telldir (DIR *) |
void | rb_w32_seekdir (DIR *, long) |
void | rb_w32_rewinddir (DIR *) |
void | rb_w32_closedir (DIR *) |
char * | rb_w32_ugetcwd (char *, int) |
#define closedir | ( | d | ) | rb_w32_closedir((d)) |
#define opendir | ( | s | ) | rb_w32_opendir((s)) |
#define readdir | ( | d | ) | rb_w32_readdir((d), 0) |
#define rewinddir | ( | d | ) | rb_w32_rewinddir((d)) |
#define seekdir | ( | d, | |
l | |||
) | rb_w32_seekdir((d), (l)) |
#define telldir | ( | d | ) | rb_w32_telldir((d)) |
void rb_w32_closedir | ( | DIR * | ) |
Definition at line 2341 of file win32.c.
References DIR::bits, direct::d_altname, direct::d_name, DIR::dirstr, free(), and DIR::start.
Definition at line 2111 of file win32.c.
References filecp_to_wstr, and NULL.
struct direct* rb_w32_readdir | ( | DIR * | , |
rb_encoding * | |||
) |
Definition at line 2282 of file win32.c.
References ENCINDEX_ASCII, filecp, and rb_enc_to_index().
void rb_w32_rewinddir | ( | DIR * | ) |
Definition at line 2329 of file win32.c.
References DIR::curr, DIR::loc, and DIR::start.
Referenced by rb_w32_seekdir().
void rb_w32_seekdir | ( | DIR * | , |
long | |||
) |
Definition at line 2314 of file win32.c.
References DIR::curr, DIR::loc, and rb_w32_rewinddir().