void BLI_system_temporary_dir(char *dir) { BLI_where_is_temp(dir, FILE_MAX, NULL); }
/** * Path to the system temporary directory (with trailing slash) */ void BKE_tempdir_system_init(char *dir) { BLI_where_is_temp(dir, NULL, FILE_MAX, NULL); }
void BLI_init_temporary_dir(char *userdir) { BLI_where_is_temp(btempdir, FILE_MAX, userdir); }
/** * Sets btempdir_base to userdir if specified and is a valid directory, otherwise * chooses a suitable OS-specific temporary directory. * Sets btempdir_session to a mkdtemp-generated sub-dir of btempdir_base. * * \note On Window userdir will be set to the temporary directory! */ void BKE_tempdir_init(char *userdir) { BLI_where_is_temp(btempdir_session, btempdir_base, FILE_MAX, userdir); ; }