Files
AwesomePolytech/OSs/lab7/common.h
2025-10-13 18:44:31 +03:00

13 lines
244 B
C

#ifndef COMMON_H
#define COMMON_H
#define SHM_NAME "/lab7_shm"
#define SEM_C2S_NAME "/sem_c2s_lab7"
#define SEM_S2C_NAME "/sem_s2c_lab7"
#define SHM_SIZE (64 * 1024)
#define FAIL_ON(cond) if (cond) return EXIT_FAILURE
#endif /* COMMON_H */