blob: 4a83d7713e08d23457667d6d961d4c37b3f372ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/* $Id$ -*- C -*-
* =============================================================================
*
* = LIBRARY
* pace
*
* = FILENAME
* pace/win32/utime.inl
*
* = AUTHOR
* Luther Baker
*
* ============================================================================= */
#include "pace/string.h"
#if (PACE_HAS_POSIX_FS_UOF)
PACE_INLINE
int
pace_utime (const char * path,
const pace_utimbuf * times)
{
/* Emulation not yet finished! Not yet working! */
#if defined (__BORLANDC__)
return utime (path, (const struct utimbuf*)times);
#else /* __BORLANDC__ */
/* Not quite the perfect answer... win32 doesn't take const args. */
return _utime ((char*)path, (struct _utimbuf*)times);
#endif /* __BORLANDC__ */
}
#endif /* PACE_HAS_POSIX_FS_UOF */
|