1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
5 <meta http-equiv="Content-Style-Type" content="text/css">
6 <meta name="keywords" content="SDL_net">
7 <link rel="top" href="index.html" title="
\83z
\81[
\83\80">
8 <link rel="parent" href="SDL_net-functions-general.html" title="1
\82Â
\8fã">
9 <title>SDLNet_Init</title>
12 <a href="index.html#SDL_net">
\96Ú
\8e\9f</a> - <a href="SDL_net-functions.html">3.
\8aÖ
\90\94</a> - <a href="SDL_net-functions-general.html">3.1
\88ê
\94Ê</a> - SDLNet_Init
16 <code>int SDLNet_Init()</code>
19 \83l
\83b
\83g
\83\8f\81[
\83NAPI
\82ð
\8f\89\8aú
\89»
\82·
\82é.
20 \82±
\82Ì
\83\89\83C
\83u
\83\89\83\8a\82Ì
\91¼
\82Ì
\8aÖ
\90\94\82ð
\8cÄ
\82Ô
\91O
\82É,
\82±
\82Ì
\8aÖ
\90\94\82ð
\8cÄ
\82Ô
\95K
\97v
\82ª
\82 \82é.
21 \82±
\82Ì
\8aÖ
\90\94\82ð
\8cÄ
\82Ô
\91O
\82ÉSDL
\82ª
\8f\89\8aú
\89»
\82³
\82ê
\82Ä
\82¢
\82é
\95K
\97v
\82ª
\82 \82é.
24 \96ß
\82è
\92l:
\90¬
\8c÷
\82Ì
\82Æ
\82«0,
\8e¸
\94s
\82Ì
\82Æ
\82«-1
26 <h2>
\83T
\83\93\83v
\83\8b\83R
\81[
\83h</h2>
30 printf("SDL_Init: %s\n", SDL_GetError());
33 if(SDLNet_Init()==-1) {
34 printf("SDLNet_Init: %s\n", SDLNet_GetError());
40 <a href="SDLNet_Quit.html">SDLNet_Quit</a>
41 <h2>
\8c´
\95¶
\82Ö
\82Ì
\83\8a\83\93\83N</h2>
42 <a href="http://www.libsdl.org/projects/SDL_net/docs/SDL_net_8.html#SEC8">3.1.2 SDLNet_Init</a>