summaryrefslogtreecommitdiffstats
path: root/man/man2/poll.2
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--man/man2/poll.2 (renamed from man2/poll.2)3
1 files changed, 2 insertions, 1 deletions
diff --git a/man2/poll.2 b/man/man2/poll.2
index 36e89f8..c0a4525 100644
--- a/man2/poll.2
+++ b/man/man2/poll.2
@@ -7,7 +7,7 @@
.\" 2006-07-01, mtk, Added POLLRDHUP + various other wording and
.\" formatting changes.
.\"
-.TH poll 2 2023-10-31 "Linux man-pages 6.7"
+.TH poll 2 2024-05-02 "Linux man-pages (unreleased)"
.SH NAME
poll, ppoll \- wait for some event on a file descriptor
.SH LIBRARY
@@ -563,6 +563,7 @@ at which point the file descriptor was closed and the program terminated.
#include <poll.h>
#include <stdio.h>
#include <stdlib.h>
+#include <sys/types.h>
#include <unistd.h>
\&
#define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \e