Index Index for
Section 9
Index Alphabetical
listing for W
Bottom of page Bottom of
page

ws_get_screen(9r)

NAME

ws_get_screen - Graphics: Returns a pointer to the screen descriptor for a screen

SYNOPSIS

ws_screens *ws_get_screen( short screen_number );

ARGUMENTS

screen_number Specifies the number of the screen whose screen descriptor is to be returned.

DATA STRUCTURES

The ws_get_screen routine accesses the ws_screens structure defined in /usr/sys/include/sys/wsdevice.h.

DESCRIPTION

The ws_get_screen routine returns a pointer to the screen descriptor for the screen specified by the screen_number argument.

RETURN VALUES

If successful, the ws_get_screen routine returns the screen descriptor associated with the specified screen_number. If no screen descriptor is found, ws_get_screen returns NULL.

FILES

/usr/sys/include/sys/wsdevice.h

SEE ALSO

Data Structures: ws_screens(9s) Driver Routines: install_vga_console(9r), ws_is_mouse_on(9r), ws_map_region(9r), ws_register_screen(9r)

Index Index for
Section 9
Index Alphabetical
listing for W
Top of page Top of
page