ref: 387a1c97f46b85d9c5c9741fc8190fbd65a80775 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); }