RTEMS: rtems_stdio_redirect Struct Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Fields
rtems_stdio_redirect Struct Reference

## Data Fields
volatile uint32_t | state
rtems_id | reader
rtems_mutex | lock
int | fd
int | fd_dup
int | pipe [2]
char * | input
ssize_t | input_size
char * | buffer
ssize_t | buffer_size
ssize_t | in
bool | full
bool | echo
rtems_stdio_redirect_handler | handler

## 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_mutex 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:

- cpukit/include/rtems/stdio-redirect.h