aboutsummaryrefslogtreecommitdiff
path: root/man/man3/notify.3
diff options
context:
space:
mode:
authorPetter Rodhelind <petter.rodhelind@gmail.com>2020-12-18 09:13:34 +0100
committerPetter Rodhelind <petter.rodhelind@gmail.com>2020-12-18 09:13:34 +0100
commit94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14 (patch)
treead1ad80ee9a4e0ae97451c94a7cf455d3068951b /man/man3/notify.3
parent7cda34cf34f3afbd3f2000aa5e2b59ddc319f0f2 (diff)
parent2991442aef1cf020ffde43673433ee97ef322a53 (diff)
downloadplan9port-94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14.tar.gz
plan9port-94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14.tar.bz2
plan9port-94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'man/man3/notify.3')
-rw-r--r--man/man3/notify.320
1 files changed, 10 insertions, 10 deletions
diff --git a/man/man3/notify.3 b/man/man3/notify.3
index 7dd768e7..9f2efb6d 100644
--- a/man/man3/notify.3
+++ b/man/man3/notify.3
@@ -33,12 +33,12 @@ or writing on a closed pipe, a
is posted to communicate the exception.
A note may also be posted by another process
via
-.IR postnote (3).
+.MR postnote (3) .
On Unix, notes are implemented as signals.
.PP
When a note is received, the action taken depends on the note.
See
-.IR signal (7)
+.MR signal (7)
for the full description of the defaults.
.PP
The default actions may be overridden.
@@ -53,10 +53,10 @@ replaces the previous handler, if any.
An argument of zero cancels a previous handler,
restoring the default action.
A
-.IR fork (2)
+.MR fork (2)
system call leaves the handler registered in
both the parent and the child;
-.IR exec (3)
+.MR exec (3)
restores the default behavior.
Handlers may not perform floating point operations.
.PP
@@ -112,17 +112,17 @@ set up with
using the
.I notejmp
function (see
-.IR setjmp (3)).
+.MR setjmp (3) ).
.PP
Unix provides a fixed set of notes (typically there are 32) called
.IR signals .
It also allows a process to block certain notes from being delivered
(see
-.IR sigprocmask (2))
+.MR sigprocmask (2) )
and to ignore certain notes by setting the signal hander to the special value
.B SIG_IGN
(see
-.IR signal (2)).
+.MR signal (2) ).
.I Noteenable
and
.I notedisable
@@ -137,7 +137,7 @@ is called upon receipt of the note; if the handler is not called, the note is di
Regardless of the origin of the note or the presence of a handler,
if the process is being debugged
(see
-.IR ptrace (2))
+.MR ptrace (2) )
the arrival of a note puts the process in the
.B Stopped
state and awakens the debugger.
@@ -252,7 +252,7 @@ are usually generated by the operating system.
.br
.B \*9/src/lib9/atnotify.c
.SH SEE ALSO
-.IR intro (3),
+.MR intro (3) ,
.I notejmp
in
-.IR setjmp (3)
+.MR setjmp (3)