Simple IPC with pipes
This commit is contained in:
16
share/sysdefs/ipcpipe.h
Normal file
16
share/sysdefs/ipcpipe.h
Normal 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_
|
Reference in New Issue
Block a user