I was reading “PC assembly language by Carter” and I saw this phrase in footnote of page 32 which made me so confused !
If we assume that files may have not EOF at their end (as the book says) is a correct statement, then how can we figure out where is end of a file ?
and it also arises another question : does fseek use EOF to go back and forth in file ?
I was reading PC assembly language by Carter and I saw this phrase in
Share
PC => ^Z : EOF
in the olde PC-days the ctrl-Z was the signal in a file for EOF.
under UNIX and other modern systems: after reading behind the stat.st_size, EOF is signalled