]> wirehaze git hosting - MS-DOS.git/blob - v4.0/src/TOOLS/BLD/INC/SYS/UTIME.H

wirehaze git hosting

MZ is back!
[MS-DOS.git] / v4.0 / src / TOOLS / BLD / INC / SYS / UTIME.H
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
23 typedef long time_t;
24 #define _TIME_T_DEFINED
25 #endif
26
27 /* define struct used by utime() function */
28
29 #ifndef _UTIMBUF_DEFINED
30 struct 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
40 int CDECL utime(char *, struct utimbuf *);