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

Revision 12784, 1.6 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_do_zsubs.3,v 1.1 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_DO_ZSUBS 3
18.SH NAME
19locker_do_zsubs \- Process locker-related Zephyr subscriptions/unsubscriptions
20.SH SYNOPSIS
21.nf
22.B #include <locker.h>
23.PP
24.B
25int locker_do_zsubs(locker_context \fIcontext\fP, int \fIop\fP)
26.PP
27.B cc file.c -llocker ...
28.fi
29.SH DESCRIPTION
30This function processes the pending Zephyr subscription or
31unsubscription requests queued up by earlier liblocker operations.
32\fIcontext\fP should be a valid locker context, and \fIop\fP should be
33one of the two constants \fILOCKER_ZEPHYR_SUBSCRIBE\fP or
34\fILOCKER_ZEPHYR_UNSUBSCRIBE\fP.
35.SH RETURN VALUES
36.I locker_do_zsubs
37may return the following values:
38.TP 15
39.I LOCKER_SUCCESS
40The operations succeeded.
41.TP 15
42.I LOCKER_EZEPHYR
43An error occurred in the Zephyr library.
44.SH SEE ALSO
45locker_init(3)
46.SH AUTHOR
47Dan Winship, MIT Information Systems
48.br
49Copyright 1998 by the Massachusetts Institute of Technology.
Note: See TracBrowser for help on using the repository browser.