mirror of
https://github.com/0intro/conterm
synced 2024-11-22 13:51:34 +03:00
17 lines
136 B
C
17 lines
136 B
C
#include <u.h>
|
|
#include <libc.h>
|
|
|
|
static Lock fmtl;
|
|
|
|
void
|
|
__fmtlock(void)
|
|
{
|
|
lock(&fmtl);
|
|
}
|
|
|
|
void
|
|
__fmtunlock(void)
|
|
{
|
|
unlock(&fmtl);
|
|
}
|