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

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

Opens/creates a file.

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

Definition at line 124 of file sys_unix.c.

Referenced by SCardEstablishContextTH().

{
      return open(pcFile, flags, mode);
}


Generated by  Doxygen 1.6.0   Back to index