Ruby
2.4.2p198(2017-09-14revision59899)
|
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 *) |
#define closedir | ( | d | ) | rb_w32_closedir((d)) |
Definition at line 42 of file dir.h.
Referenced by dir_close(), dir_free(), dir_initialize(), glob_helper(), and rb_dir_s_empty_p().
#define DT_DIR (S_IFDIR>>12) |
Definition at line 5 of file dir.h.
Referenced by readdir_internal().
#define DT_LNK 10 |
Definition at line 7 of file dir.h.
Referenced by readdir_internal().
#define DT_REG (S_IFREG>>12) |
Definition at line 6 of file dir.h.
Referenced by readdir_internal().
#define DT_UNKNOWN 0 |
Definition at line 4 of file dir.h.
Referenced by glob_helper().
#define opendir | ( | s | ) | rb_w32_opendir((s)) |
Definition at line 37 of file dir.h.
Referenced by dir_initialize(), do_opendir(), and rb_dir_s_empty_p().
#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 2340 of file win32.c.
References DIR::bits, direct::d_altname, direct::d_name, DIR::dirstr, free(), and DIR::start.
Referenced by w32_wopendir().
Definition at line 2110 of file win32.c.
References filecp_to_wstr, free(), NULL, and w32_wopendir().
struct direct* rb_w32_readdir | ( | DIR * | , |
rb_encoding * | |||
) |
Definition at line 2281 of file win32.c.
References ENCINDEX_ASCII, ENCINDEX_UTF_8, filecp, rb_enc_to_index(), readdir_internal(), ruby_direct_conv(), and win32_direct_conv().
void rb_w32_rewinddir | ( | DIR * | ) |
Definition at line 2328 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 2313 of file win32.c.
References DIR::curr, DIR::loc, move_to_next_entry(), and rb_w32_rewinddir().
Definition at line 2123 of file win32.c.
References free(), NULL, utf8_to_wstr, and w32_wopendir().