4 * Support for the utime function.
6 * This file is part of the Mingw32 package.
9 * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
11 * THIS SOFTWARE IS NOT COPYRIGHTED
13 * This source code is offered for use in the public domain. You may
14 * use, modify or distribute it freely.
16 * This code is distributed in the hope that it will be useful but
17 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
18 * DISCLAIMED. This includes but is not limited to warranties of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23 * $Date: 2002/11/24 18:09:57 $
27 #ifndef __STRICT_ANSI__
32 #define __need_wchar_t
34 #include <crtdll/stddef.h>
35 #include <crtdll/sys/types.h>
39 * Structure used by _utime function.
43 time_t actime
; /* Access time */
44 time_t modtime
; /* Modification time */
50 /* NOTE: Must be the same as _utimbuf above. */
56 #endif /* Not _NO_OLDNAMES */
62 int _utime (const char* szFileName
, struct _utimbuf
* pTimes
);
63 int _futime (int nHandle
, struct _utimbuf
*pTimes
);
65 /* The wide character version, only available for MSVCRT versions of the
66 * C runtime library. */
67 int _wutime (const wchar_t *szFileName
, struct _utimbuf
*times
);
71 int utime (const char* szFileName
, struct utimbuf
* pTimes
);
72 #endif /* Not _NO_OLDNAMES */
79 #endif /* Not _UTIME_H_ */
80 #endif /* Not __STRICT_ANSI__ */