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