how to remove EOF byte at end of file?
Hello all,
I have written some data to a file using fprintf ... that was successful, however, when I opened the file in hex fiend, there was a 0xFF byte appended to the file, which I think is the EOF byte. I need for this file to actually end in 0x2F 0x00 for the program that uses the file. Can I either prevent the EOF byte from being written to the file, or delete the EOF byte?
EDIT: Sorry, the byte at the end is now changing as I add more data, I'm not sure what it means... I tried to delete this post until I can figure out what exactly is happening and ask the proper question but I can't find the delete post button. My apologies.