|
|
1.1 ! root 1: #include "libioP.h" ! 2: #include "stdio.h" ! 3: ! 4: int ! 5: getw(fp) ! 6: FILE *fp; ! 7: { ! 8: int w; ! 9: _IO_size_t bytes_read; ! 10: COERCE_FILE(fp); ! 11: bytes_read = _IO_sgetn (fp, (char*)&w, sizeof(w)); ! 12: return sizeof(w) == bytes_read ? w : EOF; ! 13: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.