Functions that deal with opening, closing, and otherwise using a tty. More...
Functions | |
EAPI Eina_Bool | ecore_drm_tty_open (Ecore_Drm_Device *dev, const char *name) |
Open a tty for use. More... | |
EAPI Eina_Bool | ecore_drm_tty_close (Ecore_Drm_Device *dev) |
Close an already opened tty. More... | |
EAPI Eina_Bool | ecore_drm_tty_release (Ecore_Drm_Device *dev) |
Release a virtual terminal. More... | |
EAPI Eina_Bool | ecore_drm_tty_acquire (Ecore_Drm_Device *dev) |
Acquire a virtual terminal. More... | |
EAPI int | ecore_drm_tty_get (Ecore_Drm_Device *dev) |
Get the opened virtual terminal file descriptor. More... | |
Functions that deal with opening, closing, and otherwise using a tty.
EAPI Eina_Bool ecore_drm_tty_open | ( | Ecore_Drm_Device * | dev, |
const char * | name | ||
) |
Open a tty for use.
dev | The Ecore_Drm_Device that this tty will belong to. |
name | The name of the tty to try and open. If NULL, /dev/tty0 will be used. |
References DBG, ecore_event_handler_add(), ECORE_EVENT_SIGNAL_USER, EINA_FALSE, eina_stringshare_add(), eina_stringshare_del(), EINA_TRUE, ERR, and setenv().
EAPI Eina_Bool ecore_drm_tty_close | ( | Ecore_Drm_Device * | dev | ) |
Close an already opened tty.
dev | The Ecore_Drm_Device which owns this tty. |
References EINA_FALSE, eina_stringshare_del(), EINA_TRUE, and unsetenv().
EAPI Eina_Bool ecore_drm_tty_release | ( | Ecore_Drm_Device * | dev | ) |
Release a virtual terminal.
dev | The Ecore_Drm_Device which owns this tty. |
References EINA_FALSE, EINA_TRUE, and ERR.
EAPI Eina_Bool ecore_drm_tty_acquire | ( | Ecore_Drm_Device * | dev | ) |
Acquire a virtual terminal.
dev | The Ecore_Drm_Device which owns this tty. |
References EINA_FALSE, EINA_TRUE, and ERR.
EAPI int ecore_drm_tty_get | ( | Ecore_Drm_Device * | dev | ) |
Get the opened virtual terminal file descriptor.
dev | The Ecore_Drm_Device which owns this tty. |