1 #include <config.h> 2 3 /* Specification. */ 4 #include "test-moo-sub1.h" 5 6 #pragma implementation 7 8 /* Test an override. */ write(sub1_t x,void * buf,size_t len)9 int sub1::write (sub1_t x, void *buf, size_t len) 10 { 11 fwrite (buf, 1, len, x->fp); 12 return 0; 13 } 14