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