The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM



Thread: Eof
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 05-10-2008
DNAx86 DNAx86 is offline
Registered User
 

Join Date: Jan 2008
Posts: 69
If I have 2 EOF witten on a file than I close the file.
I re-open it, I seek for the END (SEEK_END), which one of the two EOF are used?

Is it correct to insert an EOF to a file if I use the file as a PIPE?
So I insert from SEEK_SET
I "remove" from SEEK_END.

Last edited by DNAx86; 05-10-2008 at 09:13 AM.
Reply With Quote