We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
The below line creates a file in a non temporary directory.
sprintf (file, "tmp_file4os_name%d%d", rand(),getpid());
This is should be under a temp directory