home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mntdoc01.zoo / mintdoc / cat3 / getpagesize.3 < prev    next >
Encoding:
Text File  |  1993-03-03  |  836 b   |  67 lines

  1.  
  2.  
  3.  
  4. GETPAGESIZE(3)      MINTLIB LIBRARY FUNCTIONS      GETPAGESIZE(3)
  5.  
  6.  
  7. N✓NA✓AM✓ME✓E
  8.        getpagesize - get system default page size
  9.  
  10. S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
  11.        #include <unistd.h>
  12.  
  13.        int getpagesize(void);
  14.  
  15. D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
  16.        This function returns the default page size as used by the
  17.        system. This may be of interest to programs that  (partly)
  18.        want to manage their memory allocation/deallocation.
  19.  
  20. R✓RE✓ET✓TU✓UR✓RN✓N V✓VA✓AL✓LU✓UE✓ES✓S
  21.        Under  TOS  or  MiNT  earlier  than  0.9,  1024  is always
  22.        returned.  Using MiNT 0.9 or later, the default page  size
  23.        is returned.  Currenly, pagesize is 8192 (the largest page
  24.        size allowed by the MC68040 processor).
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. MiNT docs 0.1              3 March 1993                         1
  65.  
  66.  
  67.