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


Go to the documentation of this file.
 * MUSCLE SmartCard Development ( http://www.linuxnet.com )
 * Copyright (C) 1999
 *  David Corcoran <corcoran@linuxnet.com>
 * $Id: sys_generic.h 2076 2006-06-07 12:58:14Z rousseau $

 * @file
 * @brief This handles abstract system level calls.

#ifndef __sys_generic_h__
#define __sys_generic_h__

#ifdef __cplusplus
extern "C"

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

      int SYS_Initialize(void);

      int SYS_Mkdir(char *, int);

      int SYS_GetPID(void);

      int SYS_Sleep(int);

      int SYS_USleep(int);

      int SYS_OpenFile(char *, int, int);

      int SYS_CloseFile(int);

      int SYS_RemoveFile(char *);

      int SYS_Chmod(const char *, int);

      int SYS_Chdir(const char *);

      int SYS_Mkfifo(const char *, int);

      int SYS_Mknod(const char *, int, int);

      int SYS_GetUID(void);

      int SYS_GetGID(void);

      int SYS_Chown(const char *, int, int);

      int SYS_ChangePermissions(char *, int);

      int SYS_LockFile(int);

      int SYS_LockAndBlock(int);

      int SYS_UnlockFile(int);

      int SYS_SeekFile(int, int);

      int SYS_ReadFile(int, char *, int);

      int SYS_WriteFile(int, char *, int);

      int SYS_GetPageSize(void);

      void *SYS_MemoryMap(int, int, int);

      void *SYS_PublicMemoryMap(int, int, int);

      void SYS_PublicMemoryUnmap(void *, int);

      int SYS_MMapSynchronize(void *, int);

      int SYS_Fork(void);

      int SYS_Daemon(int, int);

      int SYS_Wait(int, int);

      int SYS_Stat(char *pcFile, struct stat *psStatus);

      int SYS_Fstat(int);

      int SYS_RandomInt(int, int);

      int SYS_GetSeed(void);

      void SYS_Exit(int);

      int SYS_Rmdir(char *pcFile);

      int SYS_Unlink(char *pcFile);

#ifdef __cplusplus

#endif                                          /* __sys_generic_h__ */

Generated by  Doxygen 1.6.0   Back to index