 |
Index for Section 9 |
|
 |
Alphabetical listing for W |
|
 |
Bottom of page |
|
ws_is_mouse_on(9r)
NAME
ws_is_mouse_on - Graphics: Determines whether the server has opened
/dev/ws0
SYNOPSIS
int ws_is_mouse_on(
);
ARGUMENTS
None
DESCRIPTION
The ws_is_mouse_on routine is a convenience routine that determines whether
the server is running. You can use this routine to determine if you are at
the console.
RETURN VALUES
If the server is running, the ws_is_mouse_on routine returns 1. If the
server is not running, it returns 0.
EXAMPLES
The following example shows how to use ws_is_mouse_on to exit from a
routine if the server is running:
/* Exit only if in text mode */
if (ws_is_mouse_on())
return(0);
SEE ALSO
Driver Routines: install_vga_console(9r), ws_get_screen(9r),
ws_map_region(9r), ws_register_screen(9r)
 |
Index for Section 9 |
|
 |
Alphabetical listing for W |
|
 |
Top of page |
|