![]() |
RTEMS 7.0-rc1
|
Shell Wait for Input Implementation. More...
Functions | |
| rtems_status_code | rtems_shell_wait_for_explicit_input (int fd, int timeout_in_seconds, rtems_shell_wait_for_input_notification notification, void *notification_arg, int desired_input) |
| Waits for explicit 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. | |
Shell Wait for Input Implementation.
| rtems_status_code rtems_shell_wait_for_explicit_input | ( | int | fd, |
| int | timeout_in_seconds, | ||
| rtems_shell_wait_for_input_notification | notification, | ||
| void * | notification_arg, | ||
| int | desired_input | ||
| ) |
Waits for explicit input.
| desired_input | An explicit unsigned character to wait for or -1 to accept any input. |
| RTEMS_SUCCESSFUL | Input detected. |
| RTEMS_TIMEOUT | Timeout expired. |
| RTEMS_UNSATISFIED | Cannot change or restore termios attributes. |
| 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.
| RTEMS_SUCCESSFUL | Input detected. |
| RTEMS_TIMEOUT | Timeout expired. |
| RTEMS_UNSATISFIED | Cannot change or restore termios attributes. |