Mail Archives: djgpp-workers/2000/01/29/10:05:35
Here's the patch for the include directory.
Bay Laurel, Lost in Black Love,
MartinS
diff -ruN include.org/dos.h include/dos.h
--- include.org/dos.h Thu Jun 3 13:22:28 1999
+++ include/dos.h Sun Jan 9 21:08:00 2000
@@ -135,6 +135,12 @@
unsigned short _get_dos_version(int);
+int _get_fat_size(const int drive);
+int _get_fs_type(const int drive, char *const result_str);
+int _is_cdrom_drive(const int drive);
+int _is_fat32(const int drive);
+int _is_ram_drive(const int drive);
+int _media_type(const int drive);
int int86(int ivec, union REGS *in, union REGS *out);
int int86x(int ivec, union REGS *in, union REGS *out, struct SREGS *seg);
diff -ruN include.org/sys/djtypes.h include/sys/djtypes.h
--- include.org/sys/djtypes.h Tue Dec 14 06:56:16 1999
+++ include/sys/djtypes.h Mon Jan 10 18:47:18 2000
@@ -7,6 +7,7 @@
#define __DJ_clock_t typedef int clock_t;
#define __DJ_gid_t typedef int gid_t;
#define __DJ_off_t typedef int off_t;
+#define __DJ_offset_t typedef long long offset_t;
#define __DJ_pid_t typedef int pid_t;
#define __DJ_size_t typedef long unsigned int size_t;
#define __DJ_ssize_t typedef int ssize_t;
diff -ruN include.org/sys/types.h include/sys/types.h
--- include.org/sys/types.h Thu Jun 3 13:22:30 1999
+++ include/sys/types.h Sun Jan 9 21:09:46 2000
@@ -25,6 +25,9 @@
__DJ_off_t
#undef __DJ_off_t
#define __DJ_off_t
+__DJ_offset_t
+#undef __DJ_offset_t
+#define __DJ_offset_t
__DJ_pid_t
#undef __DJ_pid_t
#define __DJ_pid_t
diff -ruN include.org/unistd.h include/unistd.h
--- include.org/unistd.h Fri Dec 24 16:32:52 1999
+++ include/unistd.h Sun Jan 9 21:11:22 2000
@@ -73,6 +73,7 @@
void __exit(int _status) __attribute__((noreturn));
void _exit(int _status) __attribute__((noreturn));
+offset_t _llseek(int _fildes, offset_t _offset, int _whence);
int access(const char *_path, int _amode);
unsigned int alarm(unsigned int _seconds);
int chdir(const char *_path);
- Raw text -