ref: 71397d51d063816e8d2047b5039765e69b21a6ac
dir: /sys/src/games/music/playlistfs/playplumb.c/
#include <u.h> #include <libc.h> void main(int argc, char *argv[]) { Plumbmsg *m; int fd; fd = plumbopen("audioplay", OREAD); if (fd < 0) sysfatal("port audioplay: %r"); for (;;) { m = plumbrecv(fd); if (m == nil) sysfatal("plumrecv: %r"); plumbfree(m); } }