|
|
1.1 ! root 1: ! 2: ! 3: stream Definition stream ! 4: ! 5: ! 6: ! 7: ! 8: The term stream is a metaphor for any entity that can be named ! 9: and from which bits can flow, such as a device or a file. The ! 10: name ``stream'' reflects the fact that the C programming environ- ! 11: ment does not depend upon record descriptors and other devices ! 12: that predetermine what form data can assume; instead, data from ! 13: whatever source are conceived as being a flow of bytes whose sig- ! 14: nificance is set entirely by the program that reads them. ! 15: ! 16: For example, whether 16 bits forms an iinntt, two cchhaarrs, and should ! 17: be used as an absolute value or a bit map, is entirely up to the ! 18: program that receives it. It is also irrelevant to the program ! 19: that processes these 16 bits whether they come from the keyboard, ! 20: from a file on disk, or from a peripheral device. ! 21: ! 22: The FILE structure holds all of the information needed to manipu- ! 23: late a stream. The STDIO functions can be used to open, close, ! 24: or reopen a stream; read data from it; or write data to it. ! 25: ! 26: ***** See Also ***** ! 27: ! 28: bit, byte, data formats, definitions, file, FILE, STDIO ! 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.