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

int SYS_OpenFile ( const char *  pcFile,
int  flags,
int  mode 

Opens/creates a file.

[in] pcFile path to the file.
[in] flags Open and read/write choices.
[in] mode Permissions to the file.
File descriptor.
Return values:
>0 The file descriptor.
-1 An error ocurred.

Definition at line 126 of file sys_unix.c.

Referenced by SCardEstablishContextTH(), StatSynchronize(), and StatSynchronizeContext().

      return open(pcFile, flags, mode);

Generated by  Doxygen 1.6.0   Back to index