1SDL_VideoDriverName(3) SDL API Reference SDL_VideoDriverName(3)
2
3
4
6 SDL_VideoDriverName - Obtain the name of the video driver
7
9 #include "SDL.h"
10
11 char *SDL_VideoDriverName(char *namebuf, int maxlen);
12
14 The buffer pointed to by namebuf is filled up to a maximum of maxlen
15 characters (include the NULL terminator) with the name of the ini‐
16 tialised video driver. The driver name is a simple one word identifier
17 like "x11" or "windib".
18
20 Returns NULL if video has not been initialised with SDL_Init or a
21 pointer to namebuf otherwise.
22
24 SDL_Init SDL_InitSubSystem
25
26
27
28SDL Tue 11 Sep 2001, 23:01 SDL_VideoDriverName(3)