summaryrefslogtreecommitdiff
path: root/v4.0/src/TOOLS/BLD/INC/SYS/UTIME.H
diff options
context:
space:
mode:
Diffstat (limited to 'v4.0/src/TOOLS/BLD/INC/SYS/UTIME.H')
-rw-r--r--v4.0/src/TOOLS/BLD/INC/SYS/UTIME.H40
1 files changed, 40 insertions, 0 deletions
diff --git a/v4.0/src/TOOLS/BLD/INC/SYS/UTIME.H b/v4.0/src/TOOLS/BLD/INC/SYS/UTIME.H
new file mode 100644
index 0000000..868756c
--- /dev/null
+++ b/v4.0/src/TOOLS/BLD/INC/SYS/UTIME.H
@@ -0,0 +1,40 @@
1/***
2*sys\utime.h - definitions/declarations for utime()
3*
4* Copyright (c) 1985-1988, 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
16#ifndef NO_EXT_KEYS /* extensions enabled */
17 #define CDECL cdecl
18#else /* extensions not enabled */
19 #define CDECL
20#endif /* NO_EXT_KEYS */
21
22#ifndef _TIME_T_DEFINED
23typedef long time_t;
24#define _TIME_T_DEFINED
25#endif
26
27/* define struct used by utime() function */
28
29#ifndef _UTIMBUF_DEFINED
30struct utimbuf {
31 time_t actime; /* access time */
32 time_t modtime; /* modification time */
33 };
34#define _UTIMBUF_DEFINED
35#endif
36
37
38/* function prototypes */
39
40int CDECL utime(char *, struct utimbuf *);