1 /* DO NOT EDIT THIS FILE.
3 It has been auto-edited by fixincludes from:
5 "fixinc/tests/inc/sys/stat.h"
7 This had to be done to correct non-standard usages in the
8 original, manufacturer supplied header file. */
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 */
17 #if defined( GLIBC_C99_INLINE_2_CHECK )
18 #if __STDC_VERSION__ < 199901L
21 __inline__ int fstat64 (int __fd, struct stat64 *__buf) __THROW __nonnull ((2));
22 #if __STDC_VERSION__ < 199901L
26 __NTH (fstat64 (int __fd, struct stat64 *__statbuf))
28 #endif /* GLIBC_C99_INLINE_2_CHECK */
31 #if defined( RS6000_FCHMOD_CHECK )
32 extern int fchmod(int, mode_t);
33 #endif /* RS6000_FCHMOD_CHECK */
36 #if defined( SCO_STATIC_FUNC_CHECK )
40 #endif /* __cplusplus */
41 static int stat(const char *__f, struct stat *__p) {
42 return __stat32(__f, __p);
46 #endif /* __cplusplus */
48 # else /* !__STDC__ THIS FAILS ON BSD SYSTEMS */
51 #endif /* __cplusplus */
52 static int stat(__f, __p)
56 return __stat32(__f, __p);
60 #endif /* __cplusplus */
62 #endif /* SCO_STATIC_FUNC_CHECK */
65 #if defined( ULTRIX_STAT_CHECK )
66 @(#)stat.h 6.1 (ULTRIX)
67 #define S_IFPORT S_IFIFO
69 /* macro to test for symbolic link */
70 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
74 /* THE INSERTION LINE FAILS ON BSD SYSTEMS */
75 #endif /* ULTRIX_STAT_CHECK */
78 #if defined( VXWORKS_NEEDS_VXWORKS_CHECK )
79 #include </dev/null> /* ULONG */
80 # define __INCstath <sys/stat.h>
81 #include <types/vxTypesOld.h>
82 #endif /* VXWORKS_NEEDS_VXWORKS_CHECK */