URI:
       tscorefmt.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
       ---
       tscorefmt.c (248B)
       ---
            1 #include <u.h>
            2 #include <libc.h>
            3 #include <venti.h>
            4 
            5 int
            6 vtscorefmt(Fmt *f)
            7 {
            8         uchar *v;
            9         int i;
           10 
           11         v = va_arg(f->args, uchar*);
           12         if(v == nil)
           13                 fmtprint(f, "*");
           14         else
           15                 for(i = 0; i < VtScoreSize; i++)
           16                         fmtprint(f, "%2.2ux", v[i]);
           17         return 0;
           18 }