Fritz: Thanks for the reply. No, just compiling the fopen() code would not help. The number 20 seems to be hardcoded throughout the stdio library. For instance, sprintf uses the file id 20, so when open() uses this id, the file is not written to. Instead lots of memory gets…