summaryrefslogtreecommitdiff
path: root/libpager/no-senders.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpager/no-senders.c')
-rw-r--r--libpager/no-senders.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libpager/no-senders.c b/libpager/no-senders.c
index 38d1ff72..2414a7f0 100644
--- a/libpager/no-senders.c
+++ b/libpager/no-senders.c
@@ -20,6 +20,10 @@
#include <stdio.h>
#include <mach/notify.h>
+/* The libpager library user must call this (and do nothing else) when
+ a no-senders notification is received for a pager port. P is pager
+ on for which the notification was received; SEQNO and MSCOUNT are
+ from the no-senders notification as described in <mach/notify.defs>. */
void
pager_no_senders (struct pager *p,
mach_port_seqno_t seqno,