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