aboutsummaryrefslogtreecommitdiff
path: root/file_io/os2/maperrorcode.c
diff options
context:
space:
mode:
authorBrian Havard <bjh@apache.org>1999-10-18 10:23:21 +0000
committerBrian Havard <bjh@apache.org>1999-10-18 10:23:21 +0000
commit977e1f388af6cb5d14386a4fda184d074370cd99 (patch)
treea054ef6cbe23859ebeec988601bc720852868bb5 /file_io/os2/maperrorcode.c
parent5c72c50d849dde19421bac24654634d3982172de (diff)
downloadapr-977e1f388af6cb5d14386a4fda184d074370cd99.tar.gz
apr-977e1f388af6cb5d14386a4fda184d074370cd99.zip
OS/2: Assorted file I/O cleanups & fixes.
- Implement ap_eof() - Fix flags passed to DosOpen when reading an existing file - Invalidate file status info after a write - add (mostly based on the unix versions) ap_make_iov(), ap_writev(), ap_putc(), ap_ungetc(), ap_getc(), ap_puts(), ap_flush(), ap_fgets(), ap_fprintf() git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59365 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/os2/maperrorcode.c')
-rw-r--r--file_io/os2/maperrorcode.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/file_io/os2/maperrorcode.c b/file_io/os2/maperrorcode.c
index 0c7fb4fb9..7c47ededa 100644
--- a/file_io/os2/maperrorcode.c
+++ b/file_io/os2/maperrorcode.c
@@ -53,13 +53,14 @@
*
*/
+#define INCL_DOSERRORS
+#include "fileio.h"
#include "apr_file_io.h"
#include <errno.h>
#include <string.h>
-
-#define INCL_DOSERRORS
#include <os2.h>
+
int errormap[][2] = {
{ NO_ERROR, APR_SUCCESS },
{ ERROR_FILE_NOT_FOUND, APR_ENOENT },