diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2018-01-03 17:39:24 -0700 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2018-01-03 17:39:24 -0700 |
commit | a6c1ed4716cf02626ea035beb6dd4a921642ba80 (patch) | |
tree | ef582c1b52819e27bdd16097ec03b69799d04ede /newlib/libc/sys/go32/dir.h | |
parent | f6c9a624fa8a6878a7fb2b02f55e4990a20feb59 (diff) |
Use libc from agbcc instead of standalone newlib\nYou must have AGBCC commit 80d029caec189587f8b9294b6c8a5a489b8f5f88 in order to compile pmd_red.gbalibc
Diffstat (limited to 'newlib/libc/sys/go32/dir.h')
-rw-r--r-- | newlib/libc/sys/go32/dir.h | 53 |
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 b53695d..0000000 --- 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 |