pgpmilliseconds.c
来自「vc环境下的pgp源码」· C语言 代码 · 共 43 行
C
43 行
/*____________________________________________________________________________
Copyright (C) 1998 Network Associates, Inc.
All rights reserved.
$Id: pgpMilliseconds.c,v 1.2 1998/11/03 13:14:48 pbj Exp $
____________________________________________________________________________*/
#include "pgpPFLConfig.h"
#if PGP_MACINTOSH
#include <OpenTransport.h>
#elif PGP_WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif
#include "pgpMilliseconds.h"
PGPUInt32
PGPGetMilliseconds()
{
/* Returns milliseconds since system startup */
#if PGP_MACINTOSH
OTTimeStamp timeStamp;
OTGetTimeStamp( &timeStamp );
return OTTimeStampInMilliseconds( &timeStamp );
#elif PGP_WIN32
return GetTickCount();
#else
pgpAssert( 0 ); /* not implemented */
#endif
}
/*__Editor_settings____
Local Variables:
tab-width: 4
End:
vi: ts=4 sw=4
vim: si
_____________________*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?