summaryrefslogtreecommitdiff
path: root/apps/wince/sword/include
diff options
context:
space:
mode:
Diffstat (limited to 'apps/wince/sword/include')
-rw-r--r--apps/wince/sword/include/dirent.h18
-rw-r--r--apps/wince/sword/include/fcntl.h23
-rw-r--r--apps/wince/sword/include/io.h1
-rw-r--r--apps/wince/sword/include/swordce.h11
-rw-r--r--apps/wince/sword/include/sys/stat.h2
-rw-r--r--apps/wince/sword/include/sys/types.h1
-rw-r--r--apps/wince/sword/include/unistd.h15
7 files changed, 0 insertions, 71 deletions
diff --git a/apps/wince/sword/include/dirent.h b/apps/wince/sword/include/dirent.h
deleted file mode 100644
index dde8597..0000000
--- a/apps/wince/sword/include/dirent.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#include <windows.h>
-#include <string.h>
-
-struct dirent {
- char d_name[MAX_PATH];
-};
-
-typedef struct {
- WIN32_FIND_DATA wfd;
- HANDLE hFind;
- struct dirent de;
-} DIR;
-
-
-extern DIR* opendir( const char *pSpec);
-extern void closedir(DIR * pDir);
-extern struct dirent * readdir(DIR *pDir);
-extern void rewinddir( DIR* dir ); \ No newline at end of file
diff --git a/apps/wince/sword/include/fcntl.h b/apps/wince/sword/include/fcntl.h
deleted file mode 100644
index 163797a..0000000
--- a/apps/wince/sword/include/fcntl.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#ifndef FCNTL_H
-#define FCNTL_H
-
-
-#define O_RDONLY 0x0000 /* open for reading only */
-#define O_WRONLY 0x0001 /* open for writing only */
-#define O_RDWR 0x0002 /* open for reading and writing */
-#define O_APPEND 0x0008 /* writes done at eof */
-
-#define O_CREAT 0x0100 /* create and open file */
-#define O_TRUNC 0x0200 /* open and truncate */
-//not implemented for CE #define O_EXCL 0x0400 /* open only if file doesn't already exist */
-
-/* O_TEXT files have <cr><lf> sequences translated to <lf> on read()'s,
-** and <lf> sequences translated to <cr><lf> on write()'s
-*/
-
-#define O_TEXT 0x4000 /* file mode is text (translated) */
-#define O_BINARY 0x8000 /* file mode is binary (untranslated) */
-
-
-
-#endif
diff --git a/apps/wince/sword/include/io.h b/apps/wince/sword/include/io.h
deleted file mode 100644
index 1e823fb..0000000
--- a/apps/wince/sword/include/io.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <unistd.h>
diff --git a/apps/wince/sword/include/swordce.h b/apps/wince/sword/include/swordce.h
deleted file mode 100644
index ac595e1..0000000
--- a/apps/wince/sword/include/swordce.h
+++ /dev/null
@@ -1,11 +0,0 @@
-#ifndef SWORDCE_H
-#define SWORDCE_H
-
-#include <string.h>
-#include <ctype.h>
-
-wchar_t *strtowstr(const char *str);
-char *wstrtostr(const wchar_t *str);
-int stricmp(const char *s1, const char *s2);
-
-#endif
diff --git a/apps/wince/sword/include/sys/stat.h b/apps/wince/sword/include/sys/stat.h
deleted file mode 100644
index af6529c..0000000
--- a/apps/wince/sword/include/sys/stat.h
+++ /dev/null
@@ -1,2 +0,0 @@
-#define S_IREAD 0000400
-#define S_IWRITE 0000200
diff --git a/apps/wince/sword/include/sys/types.h b/apps/wince/sword/include/sys/types.h
deleted file mode 100644
index 2443d27..0000000
--- a/apps/wince/sword/include/sys/types.h
+++ /dev/null
@@ -1 +0,0 @@
-//I'm empty, but I make compilers happy.
diff --git a/apps/wince/sword/include/unistd.h b/apps/wince/sword/include/unistd.h
deleted file mode 100644
index c836995..0000000
--- a/apps/wince/sword/include/unistd.h
+++ /dev/null
@@ -1,15 +0,0 @@
-#ifndef UNISTD_H
-#define UNISTD_H
-
-typedef long off_t;
-
-int close (int fd);
-int open(const char *path, int mode);
-int open(const char *path, int access, unsigned mode);
-int read(int fd, void* buf, size_t count);
-int write(int fd, const void * buf, size_t count);
-off_t lseek(int fildes, off_t offset, int whence);
-int access(const char* path, int mode);
-#define unlink ::remove
-
-#endif