コード例 #1
0
ファイル: path_util.c プロジェクト: danielmarg/blender-main
void BLI_system_temporary_dir(char *dir)
{
	BLI_where_is_temp(dir, FILE_MAX, NULL);
}
コード例 #2
0
ファイル: appdir.c プロジェクト: greg100795/blender-git
/**
 * 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);
}
コード例 #3
0
ファイル: path_util.c プロジェクト: danielmarg/blender-main
void BLI_init_temporary_dir(char *userdir)
{
	BLI_where_is_temp(btempdir, FILE_MAX, userdir);
}
コード例 #4
0
ファイル: appdir.c プロジェクト: greg100795/blender-git
/**
 * 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);
;
}