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.

Functions

int SYS_ChangePermissions (char *, int)
int SYS_Chdir (const char *)
int SYS_Chmod (const char *, int)
int SYS_Chown (const char *, int, 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_Fstat (int)
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.
int SYS_LockAndBlock (int)
 Makes a blocking request to lock a file exclusively.
int SYS_LockFile (int)
 Makes a non-blocking request to lock a file exclusively.
void * SYS_MemoryMap (int, int, int)
 Map the file iFid in memory for reading and writing.
int SYS_Mkdir (char *, int)
 Attempts to create a directory with some permissions.
int SYS_Mkfifo (const char *, int)
int SYS_Mknod (const char *, int, int)
int SYS_MMapSynchronize (void *, int)
 Writes the changes made in a memory map to the disk mapped file.
int SYS_OpenFile (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 (char *)
 Removes a file.
int SYS_Rmdir (char *pcFile)
int SYS_SeekFile (int, int)
int SYS_Sleep (int)
 Makes the current process sleep for some seconds.
int SYS_Stat (char *pcFile, struct stat *psStatus)
int SYS_Unlink (char *pcFile)
int SYS_UnlockFile (int)
 Unlocks the file.
int SYS_USleep (int)
 Makes the current process sleep for some microseconds.
int SYS_Wait (int, int)
int SYS_WriteFile (int, char *, int)


Generated by  Doxygen 1.6.0   Back to index