|
|
1.1 ! root 1: #include "unixstdio.h" ! 2: xread(file) char *file; ! 3: { ! 4: FILE *fp; ! 5: int c; ! 6: ! 7: fp = fopen(file, "r"); ! 8: while ((c = getc(fp)) != EOF) ! 9: write(1, &c, 1); ! 10: fclose(fp); ! 11: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.