home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Jason Aller Floppy Collection
/
164.img
/
UUPC.ZIP
/
LOCAL.ZIP
/
NDIR.H
< prev
next >
Wrap
C/C++ Source or Header
|
1987-08-26
|
577b
|
34 lines
/* ndir.h for MS-DOS by SKL, June/87 */
#define MSDOS_MAXNAMLEN 12
#define MAXNAMLEN MSDOS_MAXNAMLEN
struct direct {
long d_ino;
short d_reclen;
short d_namlen;
char d_name[MAXNAMLEN + 1];
};
typedef struct {
char filereserved[21];
char fileattr;
int filetime, filedate;
long filesize;
char filename[MSDOS_MAXNAMLEN + 1];
} DTA;
typedef struct {
char dirid[4];
struct direct dirent;
DTA dirdta;
int dirfirst;
} DIR;
extern DIR *opendir();
extern struct direct *readdir();
extern void closedir();