summaryrefslogtreecommitdiff
path: root/Kernel/API
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-12-02 01:25:04 +0200
committerAndreas Kling <kling@serenityos.org>2021-12-05 12:53:29 +0100
commitf2fef049e12f0e8697f5d241d7b16d3b269e798c (patch)
treead265f6d7370f174eba89c98c3647a93e392f874 /Kernel/API
parent05aa764402be5b1f99d67724c54aa76fddbb1631 (diff)
downloadserenity-f2fef049e12f0e8697f5d241d7b16d3b269e798c.zip
Kernel: Define the POLLRDNORM alias for POLLIN
This flag is equivalent to POLLIN.
Diffstat (limited to 'Kernel/API')
-rw-r--r--Kernel/API/POSIX/poll.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/API/POSIX/poll.h b/Kernel/API/POSIX/poll.h
index bf32aa8cd2..b5bd1d7d8c 100644
--- a/Kernel/API/POSIX/poll.h
+++ b/Kernel/API/POSIX/poll.h
@@ -13,6 +13,7 @@ extern "C" {
#endif
#define POLLIN (1u << 0)
+#define POLLRDNORM POLLIN
#define POLLPRI (1u << 1)
#define POLLOUT (1u << 2)
#define POLLWRNORM POLLOUT