Clearing file contents only using FILE *

71 Views Asked by At

I need to clear the content of a file, but the path of that file is not reachable, unless i do large modifications. I only have the stream pointer (FILE *). I could do reopen() but, it is not available on EVC4.

Is there another way to clear a file's contents only using a FILE *?

0

There are 0 best solutions below