xref: /inferno-os/os/port/print.c (revision d0e1d143ef6f03c75c008c7ec648859dd260cbab)
1 #include "u.h"
2 #include "../port/lib.h"
3 #include "mem.h"
4 #include "dat.h"
5 #include "fns.h"
6 
7 static Lock fmtl;
8 
9 void
10 _fmtlock(void)
11 {
12 	lock(&fmtl);
13 }
14 
15 void
16 _fmtunlock(void)
17 {
18 	unlock(&fmtl);
19 }
20 
21 int
22 _efgfmt(Fmt*)
23 {
24 	return -1;
25 }
26 
27 int
28 errfmt(Fmt*)
29 {
30 	return -1;
31 }
32