#include <sys/stat.h>
#include <sys/mman.h>
Go to the source code of this file.
Functions | |
int | SYS_Initialize (void) |
Make system wide initialization. More... | |
int | SYS_Mkdir (const char *, int) |
Attempts to create a directory with some permissions. More... | |
int | SYS_GetPID (void) |
Gets the running process's ID. More... | |
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_OpenFile (const char *, int, int) |
Opens/creates a file. More... | |
int | SYS_CloseFile (int) |
Opens/creates a file. More... | |
int | SYS_RemoveFile (const char *) |
Removes a file. More... | |
int | SYS_Chmod (const char *, int) |
int | SYS_Chdir (const char *) |
int | SYS_GetUID (void) |
int | SYS_GetGID (void) |
int | SYS_ChangePermissions (const char *, int) |
int | SYS_SeekFile (int, int) |
int | SYS_ReadFile (int, char *, int) |
int | SYS_WriteFile (int, const char *, int) |
int | SYS_GetPageSize (void) |
Gets the memory page size. More... | |
void * | SYS_MemoryMap (int, int, int) |
Map the file iFid in memory for reading and writing. More... | |
void * | SYS_PublicMemoryMap (int, int, int) |
Map the file iFid in memory only for reading. More... | |
void | SYS_PublicMemoryUnmap (void *, int) |
Unmap a memory segment. More... | |
int | SYS_MMapSynchronize (void *, int) |
Writes the changes made in a memory map to the disk mapped file. More... | |
int | SYS_Fork (void) |
int | SYS_Daemon (int, int) |
put the process to run in the background. More... | |
int | SYS_Stat (const char *pcFile, struct stat *psStatus) |
int | SYS_RandomInt (int, int) |
int | SYS_GetSeed (void) |
void | SYS_Exit (int) |
int | SYS_Unlink (const char *pcFile) |
Definition in file sys_generic.h.
|
Opens/creates a file.
Definition at line 138 of file sys_unix.c. |
|
put the process to run in the background.
Definition at line 308 of file sys_unix.c. |
|
Gets the memory page size.
The page size is used when calling the
Definition at line 202 of file sys_unix.c. Referenced by SCardEstablishContextTH. |
|
Gets the running process's ID.
Definition at line 71 of file sys_unix.c. |
|
Make system wide initialization.
Definition at line 43 of file sys_unix.c. Referenced by SCardEstablishContextTH. |
|
Map the file
Definition at line 217 of file sys_unix.c. |
|
Attempts to create a directory with some permissions.
Definition at line 61 of file sys_unix.c. |
|
Writes the changes made in a memory map to the disk mapped file.
Definition at line 283 of file sys_unix.c. |
|
Opens/creates a file.
Definition at line 124 of file sys_unix.c. |
|
Map the file
Definition at line 245 of file sys_unix.c. |
|
Unmap a memory segment.
Definition at line 268 of file sys_unix.c. |
|
Removes a file.
Definition at line 152 of file sys_unix.c. |
|
Makes the current process sleep for some seconds.
Definition at line 81 of file sys_unix.c. |
|
Makes the current process sleep for some microseconds.
Definition at line 99 of file sys_unix.c. |