目次 - SDL 3.0 API(機能別) - ストレージ - SDL_CopyStorageFile

SDL_CopyStorageFile

書込可能ストレージコンテナにファイルをコピーする

ヘッダ

SDL3/SDL_storage.h

構文

bool SDL_CopyStorageFile(SDL_Storage *storage, const char *oldpath, const char *newpath);

引数

SDL_Storage *storageストレージコンテナ
const char *oldpath古いパス名
const char *newpath新しいパス名

戻り値

(bool) 成功のとき真, 失敗のとき偽を戻す. SDL_GetError()を呼んで詳細を知ることができる.

バージョン

SDL 3.2.0以降

関連項目

SDL Wikiへのリンク

SDL_CopyStorageFile - SDL Wiki