PAGE2GO2 HOME | INTERNET NEWS

LeighExchange - Free Advertising Network Stock Research at Internet Speed

fseek() clears EOF?

 List
Subject: fseek() clears EOF?
Poster: ericunfuk
Date: 23 Mar 2007 13:06:04 -0700
Related Postings: 1 2 3 4
A basic question:

When the documentation says "fseek() clears EOF indecator, does it mean when you seek over EOF, EOF is no longer at the original position and hence removed?Say, after I seek over the original EOF, when I fread() from a previous position that I know is before the EOF then fread will not be able to tell if it has encountered the original EOF?

Thank YOU!

 

Page2Go2.com is not responsible for content of this message.