2019-09-16 15:15:37 +00:00
|
|
|
#ifndef _NZG_GLOBAL
|
|
|
|
#define _NZG_GLOBAL 1
|
|
|
|
|
2020-03-03 22:41:24 +00:00
|
|
|
#include <unistd.h> /* POSIX et al */
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <fcntl.h> /* pour O_RDWR */
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/mman.h> /* shm_open */
|
2019-09-17 06:58:16 +00:00
|
|
|
#include <errno.h>
|
2020-03-03 22:42:59 +00:00
|
|
|
|
|
|
|
#define PAGESIZE sysconf(_SC_PAGESIZE)
|
2019-09-16 15:15:37 +00:00
|
|
|
#endif
|