|
|
1.1 ! root 1: /* ! 2: * Type-specific code for TYPE=dump ! 3: */ ! 4: #include <picfile.h> ! 5: int PRD_dmp(f, buf) ! 6: PICFILE *f; ! 7: char *buf; ! 8: { ! 9: f->line++; ! 10: return read(f->fd, buf, f->width*f->nchan)==f->width*f->nchan; ! 11: } ! 12: int PWR_dmp(f, buf) ! 13: PICFILE *f; ! 14: char *buf; ! 15: { ! 16: if(f->line==0) PWR_header(f); ! 17: f->line++; ! 18: return write(f->fd, buf, f->width*f->nchan)==f->width*f->nchan; ! 19: } ! 20: int PCL_dmp(f) ! 21: PICFILE *f; ! 22: { ! 23: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.