Logo Search packages:      
Sourcecode: pcsc-lite version File versions  Download package

sys_generic.h File Reference

Detailed Description

This handles abstract system level calls.

Definition in file sys_generic.h.

#include <sys/stat.h>
#include <sys/mman.h>

Go to the source code of this file.


int SYS_ChangePermissions (const char *, int)
int SYS_Chdir (const char *)
int SYS_Chmod (const char *, int)
int SYS_CloseFile (int)
 Opens/creates a file.
int SYS_Daemon (int, int)
 put the process to run in the background.
void SYS_Exit (int)
int SYS_Fork (void)
int SYS_GetGID (void)
int SYS_GetPageSize (void)
 Gets the memory page size.
int SYS_GetPID (void)
 Gets the running process's ID.
int SYS_GetSeed (void)
int SYS_GetUID (void)
int SYS_Initialize (void)
 Make system wide initialization.
void * SYS_MemoryMap (int, int, int)
 Map the file iFid in memory for reading and writing.
int SYS_Mkdir (const char *, int)
 Attempts to create a directory with some permissions.
int SYS_MMapSynchronize (void *, int)
 Writes the changes made in a memory map to the disk mapped file.
int SYS_OpenFile (const char *, int, int)
 Opens/creates a file.
void * SYS_PublicMemoryMap (int, int, int)
 Map the file iFid in memory only for reading.
void SYS_PublicMemoryUnmap (void *, int)
 Unmap a memory segment.
int SYS_RandomInt (int, int)
int SYS_ReadFile (int, char *, int)
int SYS_RemoveFile (const char *)
 Removes a file.
int SYS_SeekFile (int, int)
int SYS_Sleep (int)
 Makes the current process sleep for some seconds.
int SYS_Stat (const char *pcFile, struct stat *psStatus)
int SYS_USleep (int)
 Makes the current process sleep for some microseconds.
int SYS_WriteFile (int, const char *, int)

Generated by  Doxygen 1.6.0   Back to index