From 76fcb3e80c4668aa48d60768f3b13dd7d590fadc Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 3 Jul 1996 15:36:29 +0000 Subject: (fshelp_get_identity): Enable error returns. --- libfshelp/fshelp.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'libfshelp/fshelp.h') diff --git a/libfshelp/fshelp.h b/libfshelp/fshelp.h index e87fde35..3fa0f559 100644 --- a/libfshelp/fshelp.h +++ b/libfshelp/fshelp.h @@ -182,16 +182,17 @@ void fshelp_lock_init (struct lock_box *box); -/* Return an identity port for the node numbered FILENO, suitable for - returning from io_identity; exactly one send right must be created - from the returned value. FILENO should be the same value returned - as the `fileno' out-parameter in io_identity, and in the enclosing - directory (except for mount points), and in the st_ino stat field. - BUCKET should be a ports port bucket; fshelp requires the caller to - make sure port operations (for no-senders notifications) are used. +/* Return an identity port in *PT for the node numbered FILENO, + suitable for returning from io_identity; exactly one send right + must be created from the returned value. FILENO should be the same + value returned as the `fileno' out-parameter in io_identity, and in + the enclosing directory (except for mount points), and in the + st_ino stat field. BUCKET should be a ports port bucket; fshelp + requires the caller to make sure port operations (for no-senders + notifications) are used. */ -mach_port_t fshelp_get_identity (struct port_bucket *bucket, - ino_t fileno); +error_t fshelp_get_identity (struct port_bucket *bucket, + ino_t fileno, mach_port_t *pt); -- cgit v1.2.3