RTEMS CPU Kit with SuperCore
Data Fields
rtems_stdio_redirect Struct Reference

Data Fields

volatile uint32_t state
 The state. More...
 
rtems_id reader
 The reader thread. More...
 
rtems_id lock
 Lock for this struct. More...
 
int fd
 The file descriptor to redirect. More...
 
int fd_dup
 Duplicated fd to write to. More...
 
int pipe [2]
 The pipe to the reader thread. More...
 
char * input
 The input buffer the reader uses. More...
 
ssize_t input_size
 The input buffer size. More...
 
char * buffer
 Captured redirected data. More...
 
ssize_t buffer_size
 Capture buffer size. More...
 
ssize_t in
 Buffer in index. More...
 
bool full
 The buffer is full. More...
 
bool echo
 Echo the data out the existing path. More...
 
rtems_stdio_redirect_handler handler
 Redirected data handler. More...
 

Field Documentation

◆ buffer

char* rtems_stdio_redirect::buffer

Captured redirected data.

◆ buffer_size

ssize_t rtems_stdio_redirect::buffer_size

Capture buffer size.

◆ echo

bool rtems_stdio_redirect::echo

Echo the data out the existing path.

◆ fd

int rtems_stdio_redirect::fd

The file descriptor to redirect.

◆ fd_dup

int rtems_stdio_redirect::fd_dup

Duplicated fd to write to.

◆ full

bool rtems_stdio_redirect::full

The buffer is full.

◆ handler

rtems_stdio_redirect_handler rtems_stdio_redirect::handler

Redirected data handler.

◆ in

ssize_t rtems_stdio_redirect::in

Buffer in index.

◆ input

char* rtems_stdio_redirect::input

The input buffer the reader uses.

◆ input_size

ssize_t rtems_stdio_redirect::input_size

The input buffer size.

◆ lock

rtems_id rtems_stdio_redirect::lock

Lock for this struct.

◆ pipe

int rtems_stdio_redirect::pipe[2]

The pipe to the reader thread.

◆ reader

rtems_id rtems_stdio_redirect::reader

The reader thread.

◆ state

volatile uint32_t rtems_stdio_redirect::state

The state.


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