From 809238e5b8401c3638a4a203e7ac6552075a2652 Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Thu, 24 Feb 2022 12:48:36 +0100 Subject: [PATCH] errno: add EINTR and EAGAIN --- include/errno.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/errno.h b/include/errno.h index c78dc0e..1f412f5 100644 --- a/include/errno.h +++ b/include/errno.h @@ -26,6 +26,8 @@ extern int errno; #define EISDIR 15 /* File descriptor is a directory. */ #define ENOTDIR 16 /* File descriptor is not a directory. */ #define ENOTEMPTY 17 /* Directory is not empty. */ +#define EINTR 18 /* Interrupted system call. */ +#define EAGAIN 19 /* Resource temporarily unavailable. */ #ifdef __cplusplus }