source: trunk/athena/lib/locker/man/locker_zsubs.3 @ 12784

Revision 12784, 1.9 KB checked in by danw, 26 years ago (diff)
update locker_zsubs for zephyr-related interface changes, and add locker_do_zsubs.
Line 
1.\" $Id: locker_zsubs.3,v 1.3 1999-03-29 17:34:17 danw Exp $
2.\"
3.\" Copyright 1997 by the Massachusetts Institute of Technology.
4.\"
5.\" Permission to use, copy, modify, and distribute this
6.\" software and its documentation for any purpose and without
7.\" fee is hereby granted, provided that the above copyright
8.\" notice appear in all copies and that both that copyright
9.\" notice and this permission notice appear in supporting
10.\" documentation, and that the name of M.I.T. not be used in
11.\" advertising or publicity pertaining to distribution of the
12.\" software without specific, written prior permission.
13.\" M.I.T. makes no representations about the suitability of
14.\" this software for any purpose.  It is provided "as is"
15.\" without express or implied warranty.
16.\"
17.TH LOCKER_ZSUBS 3
18.SH NAME
19locker_zsubs \- Deal with zephyr subscriptions for a locker
20.SH SYNOPSIS
21.nf
22.B #include <locker.h>
23.PP
24.B
25void locker_zsubs(locker_context \fIcontext\fP, char *\fIfilesystem\fP)
26.PP
27.B cc file.c -llocker ...
28.fi
29.SH DESCRIPTION
30This function records the zephyr subscriptions associated with a
31locker for later processing with
32.BR locker_do_zsubs (3).
33.I filesystem
34should be the name of an attached filesystem.
35.SH RETURN VALUES
36.B locker_zsubs
37can return the following values:
38.TP 15
39.I LOCKER_SUCCESS
40The operation was succesfully performed.
41.TP 15
42.I LOCKER_EUNKNOWN
43No such filesystem.
44.TP 15
45.I LOCKER_EHESIOD
46Error looking up locker in Hesiod.
47.TP 15
48.I LOCKER_EPARSE
49Unable to parse filesystem description.
50.TP 15
51.I LOCKER_EPERM
52Untrusted user attempted privileged operation.
53.TP 15
54.I LOCKER_EATTACHTAB
55Error creating or reading the attachtab entry corresponding to this
56locker.
57.TP 15
58.I LOCKER_ENOMEM
59Memory was exhausted.
60.SH SEE ALSO
61locker_init(3), locker_attach(3), locker_do_zsubs(3), zephyr(1)
62.SH AUTHOR
63Dan Winship, MIT Information Systems
64.br
65Copyright 1998 by the Massachusetts Institute of Technology.
Note: See TracBrowser for help on using the repository browser.