Blob
1 .TH POSTNOTE 32 .SH NAME3 postnote \- send a note to a process or process group4 .SH SYNOPSIS5 .B #include <u.h>6 .br7 .B #include <libc.h>8 .PP9 .nf10 .B11 int postnote(int who, int pid, char *note)12 .fi13 .SH DESCRIPTION14 .I Postnote15 sends a note to a process or process group.16 If17 .I who18 is19 .BR PNPROC ,20 then21 .I note22 is sent to the process with id23 .IR pid .24 If25 .I who26 is27 .BI PNGROUP ,28 the note is delivered to the29 process group which has the process with id30 .I pid31 as a member.32 For33 .B PNGROUP34 only, if the calling process is in the target group, the note is35 .I not36 delivered to that process.37 .PP38 If the write is successful, zero is returned.39 Otherwise \-1 is returned.40 .SH SOURCE41 .B \*9/src/lib9/postnote.c42 .SH "SEE ALSO"43 .IR notify (3),44 .IR intro (3)45 .SH DIAGNOSTICS46 Sets47 .IR errstr .