Simple IPC with pipes

This commit is contained in:
2025-09-06 11:47:01 +02:00
parent 643d692259
commit cd0e262e56
21 changed files with 312 additions and 17 deletions

16
share/sysdefs/ipcpipe.h Normal file
View File

@ -0,0 +1,16 @@
#ifndef SHARE_SYSDEFS_IPCPIPE_H_
#define SHARE_SYSDEFS_IPCPIPE_H_
#include <stdint.h>
#include <stddef.h>
#define IPCPIPE_SELFPID (-1)
#define IPCPIPE_OUT (0)
enum {
IPCPIPE_MAKE = 0,
IPCPIPE_READ = 1,
IPCPIPE_WRITE = 2,
};
#endif // SHARE_SYSDEFS_IPCPIPE_H_