fs_temp_dir
-
char *fs_temp_dir(char *buf, size_t size)
Gets the absolute path to the platform specific temporary directory.
char buf[MAX_PATH]; if (!fs_temp_dir(buf, MAX_PATH)) { printf("fs_temp_dir failed"); } else { printf("%s", buf); }- Parameters
buf – [in] Buffer for storing the result path
size – [in] Buffer size
- Returns
A pointer to buf if there is no error, NULL otherwise.