home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
LIBSRC.ZOO
/
libsrc
/
local
/
time.c
< prev
next >
Wrap
Text File
|
1992-03-15
|
287b
|
18 lines
#define INCL_DOSMISC
#include <os2.h>
#include <stdio.h>
ULONG Dos32QuerySysInfo() asm ("Dos32QuerySysInfo");
int time (long *tbuf)
{
long buf;
Dos32QuerySysInfo (QSV_TIME_LOW, QSV_TIME_LOW, (PBYTE)&buf, 4);
if (tbuf)
*tbuf = buf;
return (buf);
}