POSTNOTE(2)
NAME
postnote − send a note to a process or process group
SYNOPSIS
intpostnote(int pid, char ∗note)
DESCRIPTION
Postnote sends a note to a process or process group. If pid is positive, note is written to /proc/pid/note. If it is negative, the note is delivered to the process group by writing note to /proc/−pid/notepg.
If the write is successful, zero is returned. Otherwise −1 is returned.
SEE ALSO
DIAGNOSTICS
Sets errstr.
Plan 9 — January 03, 1993