mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
describe new return values
This commit is contained in:
parent
fe1a02706e
commit
ec3b9bbcd3
1 changed files with 18 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue