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