|
|
1.1 root 1: #include <stdio.h>
2:
3: rewind(iop)
4: register struct _iobuf *iop;
5: {
6: fflush(iop);
7: lseek(fileno(iop), 0L, 0);
8: iop->_cnt = 0;
9: iop->_ptr = iop->_base;
10: iop->_flag &= ~(_IOERR|_IOEOF);
11: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.