title: Why does getpagesize() return an int?
body: <p>Why does the syscall <code>getpagesize()</code> return an <code>int</code> and not an <code>unsigned int</code> or a <code>size_t</code>?</p>
  
  <p>Prototype and short description below:</p>
  
  <pre><code>GETPAGESIZE(2)                                                             
      NAME
             getpagesize - get memory page size
      SYNOPSIS
             #include &lt;unistd.h&gt;
             int getpagesize(void);
  </code></pre>