Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 296 Bytes

creating_temporary_file.md

File metadata and controls

7 lines (6 loc) · 296 Bytes

Creating temporary file

It will create a temporary file on the system, fopen() it for you, and send back the file handle as its return value (file is deleted as soon as we fclose() the file)

tmpfile();
sys_get_temp_dir() // If we want to know where these temp files are being saved