sdbr_print.c (191B)
1 #include "std.h" 2 3 void 4 sdbr_print(Sdbr r) 5 { 6 String s; 7 8 if (!Vecsiz(r.attr)) 9 sysfatal("sdbr_print: empty record"); 10 Strinit(&s); 11 sdbr_r2str(&s, r); 12 write(1, s.s, s.n); 13 Strclose(&s); 14 } 15
![]() | plan9portfork of plan9port with libvec, libstr and libsdb |
Log | Files | Refs | README | LICENSE |