new venti library.

This commit is contained in:
rsc 2003-11-23 18:19:58 +00:00
parent 9df487d720
commit 056fe1ba7f
28 changed files with 4635 additions and 0 deletions

17
src/libventi/debug.c Normal file
View file

@ -0,0 +1,17 @@
#include <u.h>
#include <libc.h>
#include <venti.h>
void
vtdebug(VtConn *z, char *fmt, ...)
{
va_list arg;
if(z->debug == 0)
return;
va_start(arg, fmt);
vfprint(2, fmt, arg);
va_end(arg);
}