SysTutorials

Linux Manual Pages › Section 3

brlapi_info(3)

NAME

Getting Terminal information –

How to get information about the connected Terminal.

Macros

#define BRLAPI_MAXNAMELENGTH 31

Functions

int BRLAPI_STDCALL brlapi_getDriverName (char *buffer, size_t size)

int BRLAPI_STDCALL brlapi__getDriverName (brlapi_handle_t *handle, char *buffer, size_t size)

int BRLAPI_STDCALL brlapi_getDisplaySize (unsigned int *x, unsigned int *y)

int BRLAPI_STDCALL brlapi__getDisplaySize (brlapi_handle_t *handle, unsigned int *x, unsigned int *y)

Detailed Description

Before using Raw mode or key codes, the application should always check the type of the connected terminal, to be sure it is really the one it expects.

One should also check for display size, so as to adjust further displaying on it.

Macro Definition Documentation

#define BRLAPI_MAXNAMELENGTH 31

Maximum name length for names embeded in BrlAPI packets, not counting any termination