ref: cc706364d052347dcf45ca6dabe9a92978ad6b11 dir: /libc/fmtlock.c/
#include <u.h> #include <libc.h> static Lock fmtl; void __fmtlock(void) { lock(&fmtl); } void __fmtunlock(void) { unlock(&fmtl); }