Changeset 6c5ee7f0 in rtems for cpukit/libmisc/shell/shell.h


Ignore:
Timestamp:
Sep 16, 2011, 9:16:32 AM (10 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
7c9d27e
Parents:
fdc70e2
Message:

2011-09-16 Sebastian Huber <sebastian.huber@…>

  • libmisc/shell/shell-wait-for-input.c: New file.
  • libmisc/Makefile.am: Reflect change above.
  • libmisc/shell/shell.h: Declare rtems_shell_wait_for_input().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/shell/shell.h

    rfdc70e2 r6c5ee7f0  
    286286void rtems_shell_mount_del_fsys(rtems_shell_filesystems_t* fs);
    287287
     288typedef void (*rtems_shell_wait_for_input_notification)(
     289  int fd,
     290  int seconds_remaining,
     291  void *arg
     292);
     293
     294/**
     295 * @brief Waits for input.
     296 *
     297 * @retval RTEMS_SUCCESSFUL Input detected.
     298 * @retval RTEMS_TIMEOUT Timeout expired.
     299 * @retval RTEMS_UNSATISFIED Cannot change or restore termios attributes.
     300 */
     301rtems_status_code rtems_shell_wait_for_input(
     302  int fd,
     303  int timeout_in_seconds,
     304  rtems_shell_wait_for_input_notification notification,
     305  void *notification_arg
     306);
     307
    288308#ifdef __cplusplus
    289309}
Note: See TracChangeset for help on using the changeset viewer.