l3.libnazgul/src/nzg_global.h
Glenn Y. Rolland 34e2d07f7d Use real paths for msgSpace depending on NZG_REALFILEID
* PREPROCESSING : l'id differe en fonction du systeme (squash)
* Better handling of a return value (MAP_FAILED)
* Fix allocation size
2020-03-03 23:46:32 +01:00

16 lines
305 B
C

#ifndef _NZG_GLOBAL
#define _NZG_GLOBAL 1
#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 */
#include <errno.h>
#define PAGESIZE sysconf(_SC_PAGESIZE)
#endif