|
pcsc-lite
1.9.4
|
This handles abstract system level calls. More...
#include "config.h"#include <sys/time.h>#include <stdlib.h>#include <time.h>#include "misc.h"#include "sys_generic.h"Go to the source code of this file.
Functions | |
| INTERNAL int | SYS_Sleep (int iTimeVal) |
| Makes the current process sleep for some seconds. More... | |
| INTERNAL int | SYS_USleep (int iTimeVal) |
| Makes the current process sleep for some microseconds. More... | |
| INTERNAL int | SYS_RandomInt (int fStart, int fEnd) |
| Generate a pseudo random number. More... | |
| INTERNAL void | SYS_InitRandom (void) |
| Initialize the random generator. | |
This handles abstract system level calls.
Definition in file sys_unix.c.
| INTERNAL 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.
| INTERNAL 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.
| INTERNAL 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.