RTEMS CPU Kit with SuperCore  4.11.3
Functions
shell-wait-for-input.c File Reference
#include <rtems/shell.h>
#include <termios.h>
#include <unistd.h>
Include dependency graph for shell-wait-for-input.c:

Functions

rtems_status_code rtems_shell_wait_for_input (int fd, int timeout_in_seconds, rtems_shell_wait_for_input_notification notification, void *notification_arg)
 Waits for input. More...
 

Function Documentation

◆ rtems_shell_wait_for_input()

rtems_status_code rtems_shell_wait_for_input ( int  fd,
int  timeout_in_seconds,
rtems_shell_wait_for_input_notification  notification,
void *  notification_arg 
)

Waits for input.

Return values
RTEMS_SUCCESSFULInput detected.
RTEMS_TIMEOUTTimeout expired.
RTEMS_UNSATISFIEDCannot change or restore termios attributes.