|
|
1.1 ! root 1: #ifndef __SYS_UTIME_H__ ! 2: #define __SYS_UTIME_H__ ! 3: ! 4: /* ! 5: * This header is defined in the POSIX.1 standard ISO/IEC 9945-1:1990, and as ! 6: * such client programs which include this header should not use any symbols ! 7: * which end in "_t". ! 8: */ ! 9: ! 10: /* ! 11: * The contents of this header are also defined by the provisions of binary ! 12: * compatibility standards such as the iBCS2 specification and the System V ! 13: * ABI. The visibility of certain symbols defined by those standards may be ! 14: * controlled by feature-test macros such as _SYSV3 for iBCS2, and _SYSV4 for ! 15: * System V, Release 4. ! 16: */ ! 17: ! 18: #include <sys/ccompat.h> ! 19: #include <sys/__time.h> ! 20: ! 21: /* ! 22: * Note that this header imports <sys/__time.h> rather than <sys/_time.h>, ! 23: * since POSIX.1 requires that the types of the "actime" and "modtime" members ! 24: * be "time_t", yet does not specify "time_t" as being defined by this header. ! 25: */ ! 26: ! 27: struct utimbuf { ! 28: __time_t actime; ! 29: __time_t modtime; ! 30: }; ! 31: ! 32: __EXTERN_C_BEGIN__ ! 33: ! 34: int utime __PROTO ((__CONST__ char * _path, ! 35: __CONST__ struct utimbuf * _times)); ! 36: ! 37: __EXTERN_C_END__ ! 38: ! 39: #endif /* ! defined (__SYS_UTIME_H__) */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.