File:  [Research Unix] / researchv10no / libpicfile / pic.dmp.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:35 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

/*
 * Type-specific code for TYPE=dump
 */
#include <picfile.h>
int PRD_dmp(f, buf)
PICFILE *f;
char *buf;
{
	f->line++;
	return read(f->fd, buf, f->width*f->nchan)==f->width*f->nchan;
}
int PWR_dmp(f, buf)
PICFILE *f;
char *buf;
{
	if(f->line==0) PWR_header(f);
	f->line++;
	return write(f->fd, buf, f->width*f->nchan)==f->width*f->nchan;
}
int PCL_dmp(f)
PICFILE *f;
{
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.