pcsc-lite
1.8.23
|
This handles abstract system level calls. More...
#include <sys/stat.h>
#include <sys/mman.h>
Go to the source code of this file.
Functions | |
int | SYS_Sleep (int) |
Makes the current process sleep for some seconds. More... | |
int | SYS_USleep (int) |
Makes the current process sleep for some microseconds. More... | |
int | SYS_RandomInt (int, int) |
Generate a pseudo random number. More... | |
void | SYS_InitRandom (void) |
Initialize the random generator. | |
This handles abstract system level calls.
Definition in file sys_generic.h.
int SYS_RandomInt | ( | int | fStart, |
int | fEnd | ||
) |
Generate a pseudo random number.
[in] | fStart | minimal value |
[in] | fEnd | maximal value or -1 for a full range |
Definition at line 95 of file sys_unix.c.
int SYS_Sleep | ( | int | iTimeVal | ) |
Makes the current process sleep for some seconds.
[in] | iTimeVal | Number of seconds to sleep. |
Definition at line 53 of file sys_unix.c.
int SYS_USleep | ( | int | iTimeVal | ) |
Makes the current process sleep for some microseconds.
[in] | iTimeVal | Number of microseconds to sleep. |
Definition at line 71 of file sys_unix.c.