summaryrefslogtreecommitdiff
path: root/dmake/msdos/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'dmake/msdos/dirent.h')
-rw-r--r--dmake/msdos/dirent.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/dmake/msdos/dirent.h b/dmake/msdos/dirent.h
deleted file mode 100644
index 24ad5681d..000000000
--- a/dmake/msdos/dirent.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/* DIRLIB.H by M. J. Weinstein Released to public domain 1-Jan-89 */
-
-#ifndef _DIRLIB_h_
-#define _DIRLIB_h_
-
-#include <stdio.h>
-#include "stdmacs.h"
-#include "dosdta.h"
-
-#define MAXNAMLEN 15
-
-struct dirent {
- long d_ino;
- unsigned short d_reclen;
- unsigned short d_namlen;
- char d_name[MAXNAMLEN+1];
-};
-
-typedef struct {
- DTA dd_dta; /* disk transfer area for this dir. */
- short dd_stat; /* status return from last lookup */
- char dd_name[1]; /* full name of file -- struct is extended */
-} DIR;
-
-extern DIR *opendir ANSI((char *));
-extern struct dirent *readdir ANSI((DIR *));
-extern long telldir ANSI((DIR *));
-extern void seekdir ANSI((DIR *, long));
-extern void closedir ANSI((DIR *));
-
-#define rewinddir(dirp) seekdir(dirp,0L)
-#endif