#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <pthread.h>
#include <semaphore.h>
#include <sys/types.h>
#include <sys/shm.h>
#include <sys/ipc.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/mman.h>
#include <mqueue.h>
#include <errno.h>
#include <cassert>
#include <string>
#include <iostream>
|
#define | SVSHM_MODE (SHM_R | SHM_W | SHM_R>>3 | SHM_R>>6) |
|
#define | FILE_MODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) |
|
◆ FILE_MODE
#define FILE_MODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) |
◆ SVSHM_MODE
#define SVSHM_MODE (SHM_R | SHM_W | SHM_R>>3 | SHM_R>>6) |