Annotation of GNUtools/emacs/src/getpagesize.h, revision 1.1.1.1

1.1       root        1: #ifdef BSD
                      2: #ifndef BSD4_1
                      3: #define HAVE_GETPAGESIZE
                      4: #endif
                      5: #endif
                      6: 
                      7: #ifndef HAVE_GETPAGESIZE
                      8: 
                      9: #ifdef VMS
                     10: #include "param.h"
                     11: #else
                     12: #include <sys/param.h>
                     13: #endif
                     14: 
                     15: #ifdef POSIX
                     16: #include <unistd.h>
                     17: #define getpagesize() sysconf (_SC_PAGESIZE)
                     18: #else /* not POSIX */
                     19: #ifdef EXEC_PAGESIZE
                     20: #define getpagesize() EXEC_PAGESIZE
                     21: #else /* no EXEC_PAGESIZE */
                     22: #ifdef NBPG
                     23: #define getpagesize() NBPG * CLSIZE
                     24: #ifndef CLSIZE
                     25: #define CLSIZE 1
                     26: #endif /* no CLSIZE */
                     27: #else /* no NBPG */
                     28: #define getpagesize() NBPC
                     29: #endif /* no NBPG */
                     30: #endif /* no EXEC_PAGESIZE */
                     31: #endif /* not POSIX */
                     32: 
                     33: #endif /* not HAVE_GETPAGESIZE */
                     34: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.