Changeset 6c5ee7f0 in rtems


Ignore:
Timestamp:
Sep 16, 2011, 9:16:32 AM (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 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().
Location:
cpukit
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rfdc70e2 r6c5ee7f0  
     12011-09-16      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * libmisc/shell/shell-wait-for-input.c: New file.
     4        * libmisc/Makefile.am: Reflect change above.
     5        * libmisc/shell/shell.h: Declare rtems_shell_wait_for_input().
     6
    172011-09-15      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • cpukit/libmisc/Makefile.am

    rfdc70e2 r6c5ee7f0  
    104104    shell/main_time.c shell/main_mknod.c \
    105105    shell/main_setenv.c shell/main_getenv.c shell/main_unsetenv.c \
    106     shell/main_mkrfs.c shell/main_debugrfs.c
     106    shell/main_mkrfs.c shell/main_debugrfs.c \
     107    shell/shell-wait-for-input.c
    107108
    108109if LIBNETWORKING
  • 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.