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

INTERNAL int SYS_GetPageSize ( void   ) 

Gets the memory page size.

The page size is used when calling the SYS_MemoryMap() and SYS_PublicMemoryMap() functions.

Number of bytes per page.

Definition at line 204 of file sys_unix.c.

Referenced by SCardConnect(), SCardDisconnect(), SCardEstablishContextTH(), and SCardReconnect().

      static int size = -1;

      /* we use a cache to avoid a system call and improve perfs */
      if (-1 == size)
            size = getpagesize();
      return size;

Generated by  Doxygen 1.6.0   Back to index