Setting EOF
No, Oluseyi, you can''t. Remember that EOF is not allowed to be 0-255, so writing it out as a single byte is somewhat hard. The POSIX standard has an ''ftruncate'' function. In Windows you can use OpenFile, SetFilePointer, and SetEndOfFile together.
[Resist Windows XP''s Invasive Production Activation Technology!]
[Resist Windows XP''s Invasive Production Activation Technology!]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement