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

int SYS_MMapSynchronize ( void *  begin,
int  length 

Writes the changes made in a memory map to the disk mapped file.

[in] begin Start of the block to be written
[in] length Lenght of the block to be written
Error code.
Return values:
0 Success.
-1 An error ocurred.

Definition at line 290 of file sys_unix.c.

Referenced by StatSynchronize().

      int flags = 0;

      flags |= MS_INVALIDATE;
      return msync(begin, length, MS_SYNC | flags);

Generated by  Doxygen 1.6.0   Back to index