print.c 227 B

12345678910111213141516171819202122232425
  1. #include "u.h"
  2. #include "../port/lib.h"
  3. #include "mem.h"
  4. #include "dat.h"
  5. #include "fns.h"
  6. static Lock fmtl;
  7. void
  8. _fmtlock(void)
  9. {
  10. lock(&fmtl);
  11. }
  12. void
  13. _fmtunlock(void)
  14. {
  15. unlock(&fmtl);
  16. }
  17. int
  18. _efgfmt(Fmt*)
  19. {
  20. return -1;
  21. }