FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
time_sleepex.c
Go to the documentation of this file.
1
/* sleep multiplexer function */
2
3
#include "
fb.h
"
4
5
/*:::::*/
6
FBCALL
int
fb_SleepEx
(
int
msecs,
int
kind )
7
{
8
switch
( kind ) {
9
case
0:
10
fb_Sleep
( msecs );
11
break
;
12
case
1:
13
fb_Delay
( msecs );
14
break
;
15
default
:
16
return
fb_ErrorSetNum
(
FB_RTERROR_ILLEGALFUNCTIONCALL
);
17
}
18
return
fb_ErrorSetNum
(
FB_RTERROR_OK
);
19
}
20
rtlib
time_sleepex.c
Generated on Thu Jan 23 2014 19:40:14 for FreeBASIC by
1.8.4