code: drawterm

ref: 7aab5c799f574ee2960dbd1f2afba002f7f6f90d
dir: /libc/fmtlock.c/

View raw version
#include <u.h>
#include <libc.h>

static Lock fmtl;

void
__fmtlock(void)
{
	lock(&fmtl);
}

void
__fmtunlock(void)
{
	unlock(&fmtl);
}