|
|
1.1 ! root 1: #ifndef lint ! 2: static char sccsid[] = "@(#)printable.c 4.1 (Berkeley) 1/1/83"; ! 3: #endif ! 4: ! 5: main(argc,argv) ! 6: char *argv[]; ! 7: { ! 8: char b[512], *p; ! 9: int f, c; ! 10: f = open(argv[1], 0); ! 11: if (f<0) return(1); ! 12: p = b + read(f, b, 512); ! 13: while (p>b) ! 14: if ( (c= *--p) ==0 || (c&0200) ) return(1); ! 15: return(0); ! 16: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.