diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-18 14:57:06 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-18 14:57:06 +0000 |
| commit | f7319b36f4f48cdf065b9a1472c9a848ca6f95bc (patch) | |
| tree | cedef12b3a1e803c605157cbbba6d2c8c826338d /include/pipe.h | |
| parent | cd55aa462b112896240ab736bf60035fdb30ca2d (diff) | |
adapt self pipe
Diffstat (limited to 'include/pipe.h')
| -rw-r--r-- | include/pipe.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/pipe.h b/include/pipe.h index e7d7b67..157063d 100644 --- a/include/pipe.h +++ b/include/pipe.h @@ -6,4 +6,9 @@ namespace ov4 inline int self_pipe_fd[2] = {-1, -1}; +constexpr unsigned char SELF_PIPE_BYTE = 1; + +void self_pipe_init(); +int self_pipe_write(); + }
\ No newline at end of file |
