pcsc-lite 1.9.9
|
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. | |
int | SYS_USleep (int) |
Makes the current process sleep for some microseconds. | |
int | SYS_RandomInt (void) |
Generate a pseudo random number. | |
void | SYS_InitRandom (void) |
Initialize the random generator. | |
const char * | SYS_GetEnv (const char *name) |
(More) secure version of getenv(3) | |
This handles abstract system level calls.
Definition in file sys_generic.h.
(More) secure version of getenv(3)
[in] | name | variable environment name |
Definition at line 166 of file sys_unix.c.
Initialize the random generator.
Definition at line 138 of file sys_unix.c.
Generate a pseudo random number.
2^31
. getrandom()
is available, LCG otherwise. getrandom()
syscall. getrandom()
syscall. Definition at line 108 of file sys_unix.c.
Makes the current process sleep for some seconds.
[in] | iTimeVal | Number of seconds to sleep. |
Definition at line 62 of file sys_unix.c.
Makes the current process sleep for some microseconds.
[in] | iTimeVal | Number of microseconds to sleep. |
Definition at line 80 of file sys_unix.c.