一个开源的网络开发库ACE

源代码在线查看: utime.inl

软件大小: 11415 K
上传用户: q459753722
关键词: ACE 开源 网络开发
下载地址: 免注册下载 普通下载 VIP

相关代码

				/* 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 */
							

相关资源