diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-07-03 15:36:29 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-07-03 15:36:29 +0000 |
commit | 76fcb3e80c4668aa48d60768f3b13dd7d590fadc (patch) | |
tree | 11a7305bff7d59631540bc4b6a33ff73abd0737c | |
parent | af7907756eb963d0a051e2d53f32e1925bb2bfa4 (diff) |
(fshelp_get_identity): Enable error returns.
-rw-r--r-- | libfshelp/fshelp.h | 19 |
1 files changed, 10 insertions, 9 deletions
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); |