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