|
|
1.1 ! root 1: /*** ! 2: *sys\utime.h - definitions/declarations for utime() ! 3: * ! 4: * Copyright (c) 1985-1991, Microsoft Corporation. All rights reserved. ! 5: * ! 6: *Purpose: ! 7: * This file defines the structure used by the utime routine to set ! 8: * new file access and modification times. NOTE - MS-DOS ! 9: * does not recognize access time, so this field will ! 10: * always be ignored and the modification time field will be ! 11: * used to set the new time. ! 12: * ! 13: ****/ ! 14: ! 15: #ifndef _INC_UTIME ! 16: ! 17: #ifdef __cplusplus ! 18: extern "C" { ! 19: #endif ! 20: ! 21: ! 22: #if (_MSC_VER <= 600) ! 23: #define __cdecl _cdecl ! 24: #endif ! 25: ! 26: #ifndef _TIME_T_DEFINED ! 27: typedef long time_t; ! 28: #define _TIME_T_DEFINED ! 29: #endif ! 30: ! 31: /* define struct used by _utime() function */ ! 32: ! 33: #ifndef _UTIMBUF_DEFINED ! 34: struct _utimbuf { ! 35: time_t actime; /* access time */ ! 36: time_t modtime; /* modification time */ ! 37: }; ! 38: #if !__STDC__ ! 39: /* Non-ANSI name for compatibility */ ! 40: #define utimbuf _utimbuf ! 41: #endif ! 42: ! 43: #define _UTIMBUF_DEFINED ! 44: #endif ! 45: ! 46: /* function prototypes */ ! 47: ! 48: int _utime(char *, struct _utimbuf *); ! 49: int _futime(int, struct _utimbuf *); ! 50: ! 51: #if !__STDC__ ! 52: /* Non-ANSI name for compatibility */ ! 53: #define utime _utime ! 54: #endif ! 55: ! 56: #ifdef __cplusplus ! 57: } ! 58: #endif ! 59: ! 60: #define _INC_UTIME ! 61: #endif /* _INC_UTIME */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.