diff options
Diffstat (limited to 'PACE/pace/win32/fcntl.h')
-rw-r--r-- | PACE/pace/win32/fcntl.h | 43 |
1 files changed, 3 insertions, 40 deletions
diff --git a/PACE/pace/win32/fcntl.h b/PACE/pace/win32/fcntl.h index 40e6c0eb944..584e48d1282 100644 --- a/PACE/pace/win32/fcntl.h +++ b/PACE/pace/win32/fcntl.h @@ -13,8 +13,8 @@ * * ============================================================================ */ -#ifndef PACE_FCNTL_H -#define PACE_FCNTL_H +#ifndef PACE_FCNTL_H_WIN32 +#define PACE_FCNTL_H_WIN32 #include "pace/sys/types.h" #include "pace/unistd.h" @@ -56,45 +56,8 @@ extern "C" { typedef struct flock pace_flock; #endif /* PACE_FLOCK */ - /** - PACE's implementation of the POSIX function creat. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 5.3.2. - */ - PACE_INLINE int pace_creat (const char * path, pace_mode_t mode); - - /** - PACE's implementation of the POSIX function fcntl. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 6.5.2. - */ - # define pace_fcntl(X) fcntl X - /* int fcntl (int fildes, int cmd, *//* arg *//* ... ); - * - * PLEASE PAY SPECIAL ATTENTION HERE! - * This is a macro and requires an additional set of parenthesis - * surrounding the arguments. - */ - - /** - PACE's implementation of the POSIX function open. - See POSIX standard (Internation Standard ISO/IEC 9945-1:1996; - IEEE Std 1003.1, 1996 Edition), Section 5.3.1. - */ - # define pace_open(X) open X - /* int open (const char *path, int oflag, *//* pace_mode_t mode *//* ... ); - * - * PLEASE PAY SPECIAL ATTENTION HERE! - * This is a macro and requires an additional set of parenthesis - * surrounding the arguments. - */ - #if defined (PACE_HAS_CPLUSPLUS) } #endif /* PACE_HAS_CPLUSPLUS */ -#if defined (PACE_HAS_INLINE) -# include "pace/win32/fcntl.inl" -#endif /* PACE_HAS_INLINE */ - -#endif /* PACE_FCNTL_H */ +#endif /* PACE_FCNTL_H_WIN32 */ |