ref: 1cf26d72e2734aad1b39fae3a008b1360aec34e3 dir: /sys/src/cmd/unix/drawterm/libc/fmtlock.c/
#include <u.h> #include <libc.h> static Lock fmtl; void __fmtlock(void) { lock(&fmtl); } void __fmtunlock(void) { unlock(&fmtl); }