File:  [CSRG BSD Unix] / 41BSD / cmd / uudiff / printable.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:53 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD41
BSD 4.1

main(argc,argv)
	char *argv[];
{
char b[512], *p;
int f, c;
f = open(argv[1], 0);
if (f<0) return(1);
p = b + read(f, b, 512);
while (p>b)
	if ( (c= *--p) ==0 || (c&0200) ) return(1);
return(0);
}

unix.superglobalmegacorp.com

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