1 /* DO NOT EDIT THIS FILE. 2 3 It has been auto-edited by fixincludes from: 4 5 "fixinc/tests/inc/sys/stat.h" 6 7 This had to be done to correct non-standard usages in the 8 original, manufacturer supplied header file. */ 9 10 11 12 #if defined( ALPHA___EXTERN_PREFIX_SYS_STAT_CHECK ) 13 # if defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX) 14 #endif /* ALPHA___EXTERN_PREFIX_SYS_STAT_CHECK */ 15 16 17 #if defined( RS6000_FCHMOD_CHECK ) 18 extern int fchmod(int, mode_t); 19 #endif /* RS6000_FCHMOD_CHECK */ 20 21 22 #if defined( SCO_STATIC_FUNC_CHECK ) 23 #ifdef __STDC__ 24 #if __cplusplus 25 extern "C" { 26 #endif /* __cplusplus */ 27 static int stat(const char *__f, struct stat *__p) { 28 return __stat32(__f, __p); 29 } 30 #if __cplusplus 31 } 32 #endif /* __cplusplus */ 33 34 # else /* !__STDC__ THIS FAILS ON BSD SYSTEMS */ 35 #if __cplusplus 36 extern "C" { 37 #endif /* __cplusplus */ 38 static int stat(__f, __p) 39 char *__f; 40 struct stat *__p; 41 { 42 return __stat32(__f, __p); 43 } 44 #if __cplusplus 45 } 46 #endif /* __cplusplus */ 47 #endif 48 #endif /* SCO_STATIC_FUNC_CHECK */ 49 50 51 #if defined( ULTRIX_STAT_CHECK ) 52 @(#)stat.h 6.1 (ULTRIX) 53 #define S_IFPORT S_IFIFO 54 55 /* macro to test for symbolic link */ 56 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK) 57 58 fstat(), 59 lstat(), 60 /* THE INSERTION LINE FAILS ON BSD SYSTEMS */ 61 #endif /* ULTRIX_STAT_CHECK */ 62 63 64 #if defined( VXWORKS_NEEDS_VXWORKS_CHECK ) 65 #include </dev/null> /* ULONG */ 66 # define __INCstath <sys/stat.h> 67 #include <types/vxTypesOld.h> 68 #endif /* VXWORKS_NEEDS_VXWORKS_CHECK */ 69