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