|
|
|
|
|
by fanf2
690 days ago
|
|
I think in the real world where a file can have a 64 bit size and long is 32 bits, ftell() can work or return an error depending on the size of the file. There isn’t really any other reasonable implementation in that situation. So ftell() can exist but fail for unbounded seekable streams. The standard does not require ftell() to provide an answer in all situations. |
|