| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | 100% (?) ANSI/ISO-complia |
On , Jasen Betts (3:640/350{at}fidonet) wrote:
TT> Sure. But the whole matter is a bit academical. Do you know of any
TT> implementations that don't support SEEK_END ? (I suspect that such
TT> implementations probably don't have any reliable method of detecting
TT> end of file, so the getc()/fread() approach will probably fail as well)
> how about CP/M which only knows filesize to the block-number (ICBW) and
> flags the EOF in text files with a '\032' (ctrl-z)
Jasen...
OTOH, is there an ANSI-C compiler for CP/M? If the answer is no, which
TTBOMK is true, then there's no point to an ANSI-compliant file size
function in that environment.
--- QM v1.00
* Origin: MicroFirm : Down to the C in chips (1:106/2000.6)SEEN-BY: 396/1 622/419 632/0 371 633/260 267 270 371 634/397 635/506 728 810 SEEN-BY: 639/252 670/213 218 @PATH: 30883/6 106/2000 396/1 633/260 635/506 728 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.