summaryrefslogtreecommitdiff
path: root/PACE/pace/win32/utime.inl
blob: 1154ebd29c48ddf71394f80b9b4297ee9c6e67cb (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
/* $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! */

  /* Not quite the perfect answer... win32 doesn't take const args. */
  return _utime ((char*)path, (struct _utimbuf*)times);  
}
#endif /* PACE_HAS_POSIX_FS_UOF */