commit 857f2695156a08971b0f6ccb0dd21082490a488b
parent 97a1fb41676283f38dc4890b3bd85156e06af1fe
Author: Drew DeVault <sir@cmpwn.com>
Date: Fri, 16 Dec 2022 21:31:23 +0100
rt: add TFD_{CLOEXEC,NONBLOCK}
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/rt/+linux/types.ha b/rt/+linux/types.ha
@@ -402,6 +402,8 @@ export def EFD_CLOEXEC: int = O_CLOEXEC;
export def EFD_NONBLOCK: int = O_NONBLOCK;
export def EFD_SEMAPHORE: int = 1;
+export def TFD_CLOEXEC: int = O_CLOEXEC;
+export def TFD_NONBLOCK: int = O_NONBLOCK;
export def TFD_TIMER_ABSTIME: int = 1;
export def TFD_TIMER_CANCEL_ON_SET: int = 2;