40#if !defined(RTEMS_STDIO_REDIRECT_H)
41#define RTEMS_STDIO_REDIRECT_H
45#include <rtems/thread.h>
57typedef void (*rtems_stdio_redirect_handler)(
const char* buffer,
93 rtems_stdio_redirect_handler handler);
uint32_t rtems_task_priority
Definition: tasks.h:55
Objects_Id rtems_id
Used to manage and manipulate RTEMS object identifiers.
Definition: types.h:83
Definition: stdio-redirect.h:64
char * input
Definition: stdio-redirect.h:71
bool full
Definition: stdio-redirect.h:76
ssize_t in
Definition: stdio-redirect.h:75
bool echo
Definition: stdio-redirect.h:77
rtems_mutex lock
Definition: stdio-redirect.h:67
volatile uint32_t state
Definition: stdio-redirect.h:65
int fd
Definition: stdio-redirect.h:68
ssize_t input_size
Definition: stdio-redirect.h:72
rtems_stdio_redirect_handler handler
Definition: stdio-redirect.h:78
rtems_id reader
Definition: stdio-redirect.h:66
int fd_dup
Definition: stdio-redirect.h:69
char * buffer
Definition: stdio-redirect.h:73
ssize_t buffer_size
Definition: stdio-redirect.h:74