Changeset 6c5ee7f0 in rtems
- Timestamp:
- 09/16/11 09:16:32 (12 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 7c9d27e
- Parents:
- fdc70e2
- Location:
- cpukit
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
rfdc70e2 r6c5ee7f0 1 2011-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 1 7 2011-09-15 Joel Sherrill <joel.sherrill@oarcorp.com> 2 8 -
cpukit/libmisc/Makefile.am
rfdc70e2 r6c5ee7f0 104 104 shell/main_time.c shell/main_mknod.c \ 105 105 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 107 108 108 109 if LIBNETWORKING -
cpukit/libmisc/shell/shell.h
rfdc70e2 r6c5ee7f0 286 286 void rtems_shell_mount_del_fsys(rtems_shell_filesystems_t* fs); 287 287 288 typedef 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 */ 301 rtems_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 288 308 #ifdef __cplusplus 289 309 }
Note: See TracChangeset
for help on using the changeset viewer.