OSDN Git Service

SDL_Vulkan_UnloadLibrary 新規追加 https://wiki.libsdl.org/SDL_Vulkan_UnloadLibrary
[sdl2referencejp/sdl2referencejp.git] / SDL_ClearError.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">\r
2 <html lang="ja-JP">\r
3 <head>\r
4 <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">\r
5 <meta http-equiv="Content-Style-Type" content="text/css">\r
6 <meta name="keywords" content="Simple Directmedia Layer SDL2.0">\r
7 <link rel="top" href="index.html" title="\83z\81[\83\80">\r
8 <link rel="parent" href="CategoryError.html" title="1\82Â\8fã">\r
9 <title>SDL_ClearError</title>\r
10 </head>\r
11 <body>\r
12 <a href="index.html">\96Ú\8e\9f</a> - <a href="ApiByCategory.html">API(\8b@\94\\95Ê)</a> - <a href="CategoryError.html">\83G\83\89\81[\8f\88\97\9d</a> - SDL_ClearError\r
13 <hr>\r
14 <h1>SDL_ClearError</h1>\r
15 \83G\83\89\81[\83\81\83b\83Z\81[\83W\82ð\8fÁ\8b\8e\82·\82é\r
16 <h2>\8d\\95¶</h2>\r
17 <code>void SDL_ClearError(void)</code>\r
18 <h2>\83T\83\93\83v\83\8b\83R\81[\83h</h2>\r
19 <p>\r
20 <code>\r
21 <pre>\r
22 const char *error = SDL_GetError();\r
23 if (*error) {\r
24     SDL_Log("SDL_Error : %s", error);\r
25     SDL_ClearError();\r
26 }\r
27 </pre>\r
28 </code>\r
29 </p>\r
30 <h2>\8aÖ\98A\8d\80\96Ú(\8aÖ\90\94)</h2>\r
31 <a href="SDL_GetError.html">SDL_GetError</a><br>\r
32 <a href="SDL_SetError.html">SDL_SetError</a><br>\r
33 <h2>SDL Wiki\82Ö\82Ì\83\8a\83\93\83N</h2>\r
34 <a href="https://wiki.libsdl.org/SDL_ClearError">SDL_ClearError - SDL Wiki</a>\r
35 <hr>\r
36 </body>\r
37 </html>\r