CNDP  22.08.0
cne_tty_t Struct Reference

#include <cne_tty.h>

Public Member Functions

 CNE_ATOMIC (uint_fast16_t) winsz
 
 CNE_ATOMIC (int_least32_t) pause
 

Data Fields

int flags
 
int fd_out
 
int fd_in
 
struct sigaction saved_action
 
tty_wsize_t wsize
 
struct termios oldterm
 

Detailed Description

Structure to hold information about the tty

Definition at line 45 of file cne_tty.h.

Member Function Documentation

◆ CNE_ATOMIC() [1/2]

CNE_ATOMIC ( uint_fast16_t  )

Atomic value to detect a TIOCGWINSZ change

◆ CNE_ATOMIC() [2/2]

CNE_ATOMIC ( int_least32_t  )

Pause the update of the screen.

Field Documentation

◆ flags

int flags

Flags for tty setup and window change

Definition at line 46 of file cne_tty.h.

◆ fd_out

int fd_out

File descriptor for output data

Definition at line 47 of file cne_tty.h.

◆ fd_in

int fd_in

File descriptor for input data

Definition at line 48 of file cne_tty.h.

◆ saved_action

struct sigaction saved_action

Saved sigaction data

Definition at line 48 of file cne_tty.h.

◆ wsize

tty_wsize_t wsize

Window size values

Definition at line 51 of file cne_tty.h.

◆ oldterm

struct termios oldterm

Old terminal setup information

Definition at line 51 of file cne_tty.h.


The documentation for this struct was generated from the following file: