diff options
Diffstat (limited to 'PACE/pace/win32/stat.h')
-rw-r--r-- | PACE/pace/win32/stat.h | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/PACE/pace/win32/stat.h b/PACE/pace/win32/stat.h deleted file mode 100644 index 355974ccaca..00000000000 --- a/PACE/pace/win32/stat.h +++ /dev/null @@ -1,79 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace - * - * = FILENAME - * pace/win32/stat.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - -#ifndef PACE_SYS_STAT_H -#define PACE_SYS_STAT_H - -#include "pace/sys/types.h" -#include <sys/stat.h> - -#if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -#endif /* PACE_HAS_CPLUSPLUS */ - -#define PACE_S_IRGRP S_IRGRP -#define PACE_S_IROTH S_IROTH -#define PACE_S_IRUSR S_IRUSR -#define PACE_S_IRWXG S_IRWXG -#define PACE_S_IRWXO S_IRWXO -#define PACE_S_IRWXU S_IRWXU -#define PACE_S_ISBLK S_ISBLK -#define PACE_S_ISCHR S_ISCHR -#define PACE_S_ISDIR S_ISDIR -#define PACE_S_ISFIFO S_ISFIFO -#define PACE_S_ISGID S_SIGID -#define PACE_S_ISREG S_ISREG -#define PACE_S_ISUID S_ISUID -#define PACE_S_IWGRP S_IWGRP -#define PACE_S_IWOTH S_IWOTH -#define PACE_S_IWUSR S_IWUSR -#define PACE_S_IXGRP S_IXGRP -#define PACE_S_IXOTH S_IXOTH -#define PACE_S_IXUSR S_IXUSR -#define PACE_S_TYPEISMQ S_TYPEISMQ -#define PACE_S_TYPEISSEM S_TYPEISSEM -#define PACE_S_TYPEISMQ S_TYPEISMQ -#define PACE_S_TYPEISSEM S_TYPEISSEM -#define PACE_S_TYPEISSHM S_TYPEISSHM - - -#ifndef PACE_STAT -#define PACE_STAT - typedef struct stat pace_stat; -#endif /* PACE_STAT */ - - PACE_INLINE int pace_chmod (const char * path, pace_mode_t mode); - - PACE_INLINE int pace_fchmod (int fildes, pace_mode_t mode); - - PACE_INLINE int pace_fstat (int fildes, struct stat * buf); - - PACE_INLINE int pace_mkdir (const char * path, pace_mode_t mode); - - PACE_INLINE int pace_mkfifo (const char * path, pace_mode_t mode); - - PACE_INLINE int pace_stat (const char * path, struct stat * buf); - - PACE_INLINE mode_t pace_umask (pace_mode_t cmask); - -#if defined (PACE_HAS_CPLUSPLUS) -} -#endif /* PACE_HAS_CPLUSPLUS */ - -#if defined (PACE_HAS_INLINE) -# include "pace/win32/stat.inl" -#endif /* PACE_HAS_INLINE */ - -#endif /* PACE_SYS_STAT_H */ |