POSTNOTE(3)
π POSTNOTE(3) π
okay bestie, welcome to the postnote page from the Library Functions Manual β it's literally about sending a note to a process or a process group, and the vibe is immaculate π
β¨ NAME β¨
postnote β send a note to a process or process group π
πΈ SYNOPSIS πΈ
#include <u.h>
#include <libc.h>
int postnote(int who, int pid, char *note)
π¦ DESCRIPTION π¦
postnote sends a note to a process or process group. here's the group-chat breakdown, no cap:
- if
whoisPNPROC, thennoteis sent to the process with idpidπ - if
whoisPNGROUP, thenoteis delivered to the process group containing the process with idpidπ
π«Ά special-case tea: for PNGROUP only, if the calling process is in the target group, the note is not delivered to that process. periodt.
it returns zero if the write succeeds, otherwise -1. that's the whole mood π₯
π₯ SOURCE π₯
/src/lib9/postnote.c
π SEE ALSO π
π DIAGNOSTICS π
sets errstr. yes bestie, that's the diagnostic behaviour β it sets errstr π«Ά
xoxo, the Library Functions Manual π β footer vibes: POSTNOTE(3), source at /src/lib9/postnote.c; this copy doesn't show extra date/version tea beyond that πΈ
π¦ where this page comes from
- alpine 3.24: plan9port-doc 0_git20260208-r0 Β· LPL-1.02
- arch rolling: plan9port 20261021-2 Β· custom
- nixos 26.05: plan9port 0-unstable-2025-11-10
- nixos 26.05: plan9port-wayland 0-unstable-2025-11-26
- nixpkgs unstable: plan9port 0-unstable-2025-11-10
- nixpkgs unstable: plan9port-wayland 0-unstable-2025-11-26
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms