diff options
author | luther <luther@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-08-29 01:08:11 +0000 |
---|---|---|
committer | luther <luther@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-08-29 01:08:11 +0000 |
commit | 25209e19cac8234fb034b42864df1583b937dacd (patch) | |
tree | 52dbf9791064050c9bb3ef81523f5980255e7dff /PACE | |
parent | e4fc10856112ec9ce75bbc34932f207671e834a9 (diff) | |
download | ATCD-25209e19cac8234fb034b42864df1583b937dacd.tar.gz |
Mon Aug 28 20:00:26 2000 Luther J Baker <luther@cs.wustl.edu>
Diffstat (limited to 'PACE')
-rw-r--r-- | PACE/ChangeLog | 7 | ||||
-rw-r--r-- | PACE/pace/fcntl.h | 3 | ||||
-rw-r--r-- | PACE/pace/win32/fcntl.inl | 13 |
3 files changed, 23 insertions, 0 deletions
diff --git a/PACE/ChangeLog b/PACE/ChangeLog index 6d2c1f27897..459085062dd 100644 --- a/PACE/ChangeLog +++ b/PACE/ChangeLog @@ -1,3 +1,10 @@ +Mon Aug 28 20:00:26 2000 Luther J Baker <luther@cs.wustl.edu> + + * PACE/pace/fcntl.h: + * PACE/pace/win32/fcntl.inl: + + Added support of fcntl (...) for win32. No op. + Fri Aug 25 12:11:38 2000 Luther J Baker <luther@cs.wustl.edu> * /pace/unistd.h: diff --git a/PACE/pace/fcntl.h b/PACE/pace/fcntl.h index 3b74243bee7..152312f59ef 100644 --- a/PACE/pace/fcntl.h +++ b/PACE/pace/fcntl.h @@ -50,6 +50,9 @@ extern "C" { */ #if (PACE_HAS_POSIX_FM_UOF) /* int fcntl (int fildes, int cmd, *//* arg *//* ... ); */ +# if defined (PACE_WIN32) + int fcntl (PACE_HANDLE fildes, int cmd, /* arg */ ... ); +# endif /* PACE_WIN32 */ # define pace_fcntl fcntl #endif /* PACE_HAS_POSIX_FM_UOF */ diff --git a/PACE/pace/win32/fcntl.inl b/PACE/pace/win32/fcntl.inl index 4ca9257ec8d..10b84146ea1 100644 --- a/PACE/pace/win32/fcntl.inl +++ b/PACE/pace/win32/fcntl.inl @@ -19,6 +19,19 @@ int pace_creat (const char * path, pace_mode_t mode) { /* Emulation is still buggy! creat (path, mode); */ + PACE_UNUSED_ARG (path); + PACE_UNUSED_ARG (mode) + PACE_ERRNO_NO_SUPPORT_RETURN (-1); +} +#endif /* PACE_HAS_POSIX_FS_UOF */ + +#if (PACE_HAS_POSIX_FS_UOF) +PACE_INLINE +int +pace_fcntl (PACE_HANDLE fildes, int cmd, /* arg */ ... ) +{ + PACE_UNUSED_ARG (fildes); + PACE_UNUSED_ARG (cmd); PACE_ERRNO_NO_SUPPORT_RETURN (-1); } #endif /* PACE_HAS_POSIX_FS_UOF */ |