40#define S_IROTH _S_IREAD
41#define S_IFIFO _S_IFIFO
44#define MY_S_IFMT S_IFMT
45#define MY_S_IFDIR S_IFDIR
46#define MY_S_IFCHR S_IFCHR
47#define MY_S_IFBLK S_IFBLK
48#define MY_S_IFREG S_IFREG
49#define MY_S_IFIFO S_IFIFO
50#define MY_S_ISUID S_ISUID
51#define MY_S_ISGID S_ISGID
52#define MY_S_ISVTX S_ISVTX
53#define MY_S_IREAD S_IREAD
54#define MY_S_IWRITE S_IWRITE
55#define MY_S_IEXEC S_IEXEC
57#define MY_S_ISDIR(m) (((m)&MY_S_IFMT) == MY_S_IFDIR)
58#define MY_S_ISCHR(m) (((m)&MY_S_IFMT) == MY_S_IFCHR)
59#define MY_S_ISBLK(m) (((m)&MY_S_IFMT) == MY_S_IFBLK)
60#define MY_S_ISREG(m) (((m)&MY_S_IFMT) == MY_S_IFREG)
61#define MY_S_ISFIFO(m) (((m)&MY_S_IFMT) == MY_S_IFIFO)
63#define MY_DONT_SORT 512
64#define MY_WANT_STAT 1024
69#define MY_STAT struct _stati64
71#define MY_STAT struct stat
int my_fstat(int filenr, MY_STAT *stat_area)
Definition: my_lib.cc:293
MY_DIR * my_dir(const char *path, myf MyFlags)
Definition: my_lib.cc:85
#define MY_STAT
Definition: my_dir.h:71
void my_dirend(MY_DIR *buffer)
Definition: my_lib.cc:69
MY_STAT * my_stat(const char *path, MY_STAT *stat_area, myf my_flags)
Definition: my_lib.cc:303
Some integer typedefs for easier portability.
int myf
Definition: my_inttypes.h:94
static char * path
Definition: mysqldump.cc:137
mutable_buffer buffer(void *p, size_t n) noexcept
Definition: buffer.h:420
uint number_off_files
Definition: my_dir.h:89
struct fileinfo * dir_entry
Definition: my_dir.h:88
char * name
Definition: my_dir.h:76
MY_STAT * mystat
Definition: my_dir.h:77
unsigned int uint
Definition: uca9-dump.cc:75