|
|
1.1 ! root 1: /* ! 2: * Standard I/O Library ! 3: * Put word (int) to file ! 4: * Routine instead of macro for the cheap and lazy ! 5: */ ! 6: ! 7: #include <stdio.h> ! 8: #undef putw ! 9: ! 10: int ! 11: putw(w, fp) ! 12: int w; ! 13: register FILE *fp; ! 14: { ! 15: putc(w, fp); ! 16: putc(w>>8, fp); ! 17: return (w); ! 18: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.