summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
Diffstat (limited to 'hurd')
-rw-r--r--hurd/io.defs11
-rw-r--r--hurd/io_reply.defs5
-rw-r--r--hurd/io_request.defs6
3 files changed, 22 insertions, 0 deletions
diff --git a/hurd/io.defs b/hurd/io.defs
index 9119b05b..ba0b8077 100644
--- a/hurd/io.defs
+++ b/hurd/io.defs
@@ -320,3 +320,14 @@ routine io_identity (
on the specified object. */
routine io_revoke (
io_object: io_t RPTLAST);
+
+/* INTR */
+routine io_select_timeout (
+ io_object: io_t;
+#if defined (REPLY_PORTS) || defined (IO_SELECT_REPLY_PORT)
+ replyport reply: sreply_port_t;
+#else
+ ureplyport reply: mach_port_make_send_t;
+#endif
+ timeout: timespec_t;
+ inout select_type: int);
diff --git a/hurd/io_reply.defs b/hurd/io_reply.defs
index ffc4e752..eee68244 100644
--- a/hurd/io_reply.defs
+++ b/hurd/io_reply.defs
@@ -175,3 +175,8 @@ simpleroutine io_identity_reply (
simpleroutine io_revoke_reply (
reply: reply_port_t;
RETURN_CODE_ARG);
+
+simpleroutine io_select_timeout_reply (
+ reply: reply_port_t;
+ RETURN_CODE_ARG;
+ select_result: int);
diff --git a/hurd/io_request.defs b/hurd/io_request.defs
index a3e775aa..0d5e36dd 100644
--- a/hurd/io_request.defs
+++ b/hurd/io_request.defs
@@ -172,3 +172,9 @@ simpleroutine io_identity_request (
simpleroutine io_revoke_request (
io_object: io_t;
reply: reply_port_t);
+
+simpleroutine io_select_timeout_request (
+ io_object: io_t;
+ ureplyport reply: mach_port_make_send_t;
+ timeout: timespec_t;
+ select_type: int);