utime.inl

来自「一个开源的网络开发库ACE」· INL 代码 · 共 34 行

INL
34
字号
/* utime.inl,v 1.8 2001/02/10 01:41:41 luther Exp -*- 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 */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?