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