|
|
1.1 ! root 1: ! 2: ! 3: rewind() STDIO Function rewind() ! 4: ! 5: ! 6: ! 7: ! 8: Reset file pointer ! 9: ! 10: #include <stdio.h> ! 11: iinntt rreewwiinndd(_f_p) FFIILLEE *_f_p; ! 12: ! 13: rewind resets the file pointer to the beginning of stream fp. It ! 14: is a synonym for ffsseeeekk(_f_p, 00LL, 00). ! 15: ! 16: ***** Example ***** ! 17: ! 18: For an example of this routine, see the entry for fscanf. ! 19: ! 20: ***** See Also ***** ! 21: ! 22: fseek(), ftell(), lseek(), STDIO ! 23: ! 24: ***** Diagnostics ***** ! 25: ! 26: rewind returns EOF if an error occurs; otherwise, it returns ! 27: zero. ! 28: ! 29: ! 30: ! 31: ! 32: ! 33: ! 34: ! 35: ! 36: ! 37: ! 38: ! 39: ! 40: ! 41: ! 42: ! 43: ! 44: ! 45: ! 46: ! 47: ! 48: ! 49: ! 50: ! 51: ! 52: ! 53: ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.