summaryrefslogtreecommitdiff
path: root/libports/ports.h
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-03-20 18:32:33 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-03-20 18:32:33 +0000
commit2804f303466e0dfbd5a7c4e0fc4fa9412f75e84f (patch)
tree3f3183ee7b6727694103dfa7c9b6987bbd6c9f6a /libports/ports.h
parent929a5a39026cc75b4812746e3a7d3244a7e9964f (diff)
(ports_claim_right): New declaration.
Diffstat (limited to 'libports/ports.h')
-rw-r--r--libports/ports.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libports/ports.h b/libports/ports.h
index 28fa4ec9..225171f4 100644
--- a/libports/ports.h
+++ b/libports/ports.h
@@ -190,6 +190,11 @@ void ports_reallocate_from_external (void *port, mach_port_t receive);
may not be used. */
void ports_destroy_right (void *port);
+/* Return the receive right currently associated with PORT. The effects
+ on PORT are the same as in ports_destroy_right, except that the receive
+ right itself is not affected. */
+mach_port_t ports_claim_right (void *port);
+
/* Return the name of the receive right associated with PORT. The user
is responsible for creating an ordinary send right from this name. */
mach_port_t ports_get_right (void *port);