ref: de8580ed9f8fa2d34ae01f5b73bb14263322824a dir: /sys/src/libc/fmt/fmtlock.c/
#include <u.h> #include <libc.h> static Lock fmtl; void _fmtlock(void) { lock(&fmtl); } void _fmtunlock(void) { unlock(&fmtl); }