URI:
       tdebug.c - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
       tdebug.c (200B)
       ---
            1 #include <u.h>
            2 #include <libc.h>
            3 #include <venti.h>
            4 
            5 void
            6 vtdebug(VtConn *z, char *fmt, ...)
            7 {
            8         va_list arg;
            9 
           10         if(z->debug == 0)
           11                 return;
           12 
           13         va_start(arg, fmt);
           14         vfprint(2, fmt, arg);
           15         va_end(arg);
           16 }