1 #include <config.h> 2 3 /* Specification. */ 4 #include "test-moo-root.h" 5 6 #include <stdio.h> 7 8 #pragma implementation 9 write(root_t x,void * buf,size_t len)10int root::write (root_t x, void *buf, size_t len) 11 { 12 fwrite (buf, 1, len, stdout); 13 return 0; 14 } 15 do_free(root_t x)16void root::do_free (root_t x) 17 { 18 free (x); 19 } 20