Header Ads Widget

[MAN] SDL_VideoDriverName

Content-type: text/html; charset=UTF-8 Man page of SDL_VideoDriverName

SDL_VideoDriverName

Section: SDL API Reference (3)
Updated: Tue 11 Sep 2001, 23:01
Index Return to Main Contents
 

NAME

SDL_VideoDriverName - Obtain the name of the video driver  

SYNOPSIS

#include "SDL.h"

char *SDL_VideoDriverName(char *namebuf, int maxlen);  

DESCRIPTION

The buffer pointed to by namebuf is filled up to a maximum of maxlen characters (include the NULL terminator) with the name of the initialised video driver. The driver name is a simple one word identifier like "x11" or "windib".  

RETURN VALUE

Returns NULL if video has not been initialised with SDL_Init or a pointer to namebuf otherwise.  

SEE ALSO

SDL_Init SDL_InitSubSystem


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 04:45:38 GMT, September 16, 2022

댓글 쓰기

0 댓글