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 containing the process with id30 .IR pid .31 For32 .B PNGROUP33 only, if the calling process is in the target group, the note is34 .I not35 delivered to that process.36 .PP37 Returns zero if the write succeeds, otherwise \-1.38 .SH SOURCE39 .B \*9/src/lib9/postnote.c40 .SH "SEE ALSO"41 .IR notify (3),42 .IR intro (3)43 .SH DIAGNOSTICS44 Sets45 .IR errstr .