home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
e
/
emxdev8f.zip
/
DIRENT.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-08-28
|
1KB
|
36 lines
/* sys/dirent.h (emx+gcc) */
#if !defined (_SYS_DIRENT_H)
#define _SYS_DIRENT_H
#if !defined (MAXNAMLEN)
#define MAXNAMLEN 260
#endif
#if !defined (MAXPATHLEN)
#define MAXPATHLEN 260
#endif
#if !defined (A_RONLY)
#define A_RONLY 0x01
#define A_HIDDEN 0x02
#define A_SYSTEM 0x04
#define A_LABEL 0x08
#define A_DIR 0x10
#define A_ARCHIVE 0x20
#endif
struct dirent
{
ino_t d_ino; /* Almost not used */
int d_reclen; /* Almost not used */
int d_namlen; /* Length of d_name */
char d_name[MAXNAMLEN + 1]; /* File name, 0 terminated */
long d_size; /* File size (bytes) */
unsigned short d_mode; /* OS file attributes */
unsigned short d_time; /* OS file modification time */
unsigned short d_date; /* OS file modification date */
};
#endif /* !defined (SYS_DIRENT_H) */