|
|
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:
1.1.1.2 ! root 22: #ifndef MIPS
1.1 root 23: #if (_MSC_VER <= 600)
24: #define __cdecl _cdecl
25: #endif
1.1.1.2 ! root 26: #endif
1.1 root 27:
28: #ifndef _TIME_T_DEFINED
29: typedef long time_t;
30: #define _TIME_T_DEFINED
31: #endif
32:
33: /* define struct used by _utime() function */
34:
35: #ifndef _UTIMBUF_DEFINED
36: struct _utimbuf {
37: time_t actime; /* access time */
38: time_t modtime; /* modification time */
39: };
40: #if !__STDC__
41: /* Non-ANSI name for compatibility */
42: #define utimbuf _utimbuf
43: #endif
44:
45: #define _UTIMBUF_DEFINED
46: #endif
47:
48: /* function prototypes */
49:
50: int _utime(char *, struct _utimbuf *);
51: int _futime(int, struct _utimbuf *);
52:
53: #if !__STDC__
54: /* Non-ANSI name for compatibility */
55: #define utime _utime
56: #endif
57:
58: #ifdef __cplusplus
59: }
60: #endif
61:
62: #define _INC_UTIME
63: #endif /* _INC_UTIME */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.