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