Functions
Tty manipulation functions

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...
 

Detailed Description

Functions that deal with opening, closing, and otherwise using a tty.

Function Documentation

◆ ecore_drm_tty_open()

EAPI Eina_Bool ecore_drm_tty_open ( Ecore_Drm_Device dev,
const char *  name 
)

Open a tty for use.

Parameters
devThe Ecore_Drm_Device that this tty will belong to.
nameThe name of the tty to try and open. If NULL, /dev/tty0 will be used.
Returns
EINA_TRUE on success, EINA_FALSE on failure

◆ ecore_drm_tty_close()

EAPI Eina_Bool ecore_drm_tty_close ( Ecore_Drm_Device dev)

Close an already opened tty.

Parameters
devThe Ecore_Drm_Device which owns this tty.
Returns
EINA_TRUE on success, EINA_FALSE on failure

◆ ecore_drm_tty_release()

EAPI Eina_Bool ecore_drm_tty_release ( Ecore_Drm_Device dev)

Release a virtual terminal.

Parameters
devThe Ecore_Drm_Device which owns this tty.
Returns
EINA_TRUE on success, EINA_FALSE on failure

◆ ecore_drm_tty_acquire()

EAPI Eina_Bool ecore_drm_tty_acquire ( Ecore_Drm_Device dev)

Acquire a virtual terminal.

Parameters
devThe Ecore_Drm_Device which owns this tty.
Returns
EINA_TRUE on success, EINA_FALSE on failure

◆ ecore_drm_tty_get()

EAPI int ecore_drm_tty_get ( Ecore_Drm_Device dev)

Get the opened virtual terminal file descriptor.

Parameters
devThe Ecore_Drm_Device which owns this tty.
Returns
The tty fd opened from previous call to ecore_drm_tty_open
Since
1.10