summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/go32/dir.h
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-12-20 02:29:00 +0000
committerJeff Johnston <jjohnstn@redhat.com>2002-12-20 02:29:00 +0000
commitd693ad844979b8f5596dde99a0cbec070af73683 (patch)
tree1b60e394a1807abc3c92bf9b0cbb88b3fdb157c4 /newlib/libc/sys/go32/dir.h
parent3ace1da676318a591ee314b784f37661e52cfb75 (diff)
downloadcygnal-d693ad844979b8f5596dde99a0cbec070af73683.tar.gz
cygnal-d693ad844979b8f5596dde99a0cbec070af73683.tar.bz2
cygnal-d693ad844979b8f5596dde99a0cbec070af73683.zip
2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
* configure.host: Remove references to go32. * libc/sys/go32/*: Removed.
Diffstat (limited to 'newlib/libc/sys/go32/dir.h')
-rw-r--r--newlib/libc/sys/go32/dir.h53
1 files changed, 0 insertions, 53 deletions
diff --git a/newlib/libc/sys/go32/dir.h b/newlib/libc/sys/go32/dir.h
deleted file mode 100644
index 826c4604d..000000000
--- a/newlib/libc/sys/go32/dir.h
+++ /dev/null
@@ -1,53 +0,0 @@
-#ifndef _DIR_H_
-#define _DIR_H_
-
-struct ffblk {
- char ff_reserved[21];
- char ff_attrib;
- short ff_ftime;
- short ff_fdate;
- short ff_filler;
- long ff_fsize;
- char ff_name[16];
-};
-
-#define FA_RDONLY 1
-#define FA_HIDDEN 2
-#define FA_SYSTEM 4
-#define FA_LABEL 8
-#define FA_DIREC 16
-#define FA_ARCH 32
-
-/* for fnmerge/fnsplit */
-#define MAXPATH 80
-#define MAXDRIVE 3
-#define MAXDIR 66
-#define MAXFILE 9
-#define MAXEXT 5
-
-#define WILDCARDS 0x01
-#define EXTENSION 0x02
-#define FILENAME 0x04
-#define DIRECTORY 0x08
-#define DRIVE 0x10
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int findfirst(const char *pathname, struct ffblk *ffblk, int attrib);
-int findnext(struct ffblk *ffblk);
-
-void fnmerge (char *path, const char *drive, const char *dir,
- const char *name, const char *ext);
-int fnsplit (const char *path, char *drive, char *dir,
- char *name, char *ext);
-
-int getdisk(void);
-int setdisk(int drive);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif