Apparently, NSFileManager is unable to delete files created by mkstemp(). Here\'s some test code to demonstrate this:
I\'m playing around开发者_运维百科 with mkstemp(), which provides a file descriptor, but I want to generate formatted output via fprintf(). Is there an easy way to transform the file descriptor provid