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 *
?