aboutsummaryrefslogtreecommitdiff
path: root/man/man3/notify.3
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-16 21:30:24 +0000
committerrsc <devnull@localhost>2005-01-16 21:30:24 +0000
commitec3b9bbcd33bcec6af4acb822cc18027ab6ee9ae (patch)
tree2bb3e21fb7a25f58304c959c527d1bed197e1324 /man/man3/notify.3
parentfe1a02706e8274767edc97c211f19afe02ac31e4 (diff)
downloadplan9port-ec3b9bbcd33bcec6af4acb822cc18027ab6ee9ae.tar.gz
plan9port-ec3b9bbcd33bcec6af4acb822cc18027ab6ee9ae.tar.bz2
plan9port-ec3b9bbcd33bcec6af4acb822cc18027ab6ee9ae.zip
describe new return values
Diffstat (limited to 'man/man3/notify.3')
-rw-r--r--man/man3/notify.318
1 files changed, 18 insertions, 0 deletions
diff --git a/man/man3/notify.3 b/man/man3/notify.3
index 63c182b6..22d4f31d 100644
--- a/man/man3/notify.3
+++ b/man/man3/notify.3
@@ -202,6 +202,24 @@ with argument
.\" are designed to improve the emulation of signals by the ANSI C/POSIX
.\" environment; their use elsewhere is discouraged.
.PP
+.I Notify
+and
+.I atnotify
+return \-1 on error and 0 on success.
+.I Noted
+returns \-1 on error; successful calls to
+.I noted
+do not return.
+.I Noteenable
+and
+
+.I notedisable
+.RI ( notitfyon
+and
+.IR notifyoff )
+return \-1 on error, 0 if the note was previously disabled (not notified),
+and 1 if the note was previously enabled (notified).
+.PP
The set of notes a process may receive is system-dependent, but there
is a common set that includes:
.PP