summaryrefslogtreecommitdiff
path: root/hurd/process.defs
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/process.defs')
-rw-r--r--hurd/process.defs8
1 files changed, 7 insertions, 1 deletions
diff --git a/hurd/process.defs b/hurd/process.defs
index a87cc421..43cc9f2a 100644
--- a/hurd/process.defs
+++ b/hurd/process.defs
@@ -356,7 +356,7 @@ routine proc_getpgrppids (
out pidset: pidarray_t, dealloc);
-/*** Another miscelleneous info query ***/
+/*** Other miscelleneous info queries ***/
/* Return the controlling TTY used by PID in TTY; opened without read or
write access. */
@@ -364,3 +364,9 @@ routine proc_get_tty (
calling_process: process_t;
target_process: pid_t;
out tty: mach_port_send_t);
+
+/* Return the number of Mach ports used by PID */
+routine proc_getnports (
+ process: process_t;
+ which: pid_t;
+ out nports: mach_msg_type_number_t);