mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-24 06:55:44 +08:00
Use atexit() handler to close std file descriptors
This commit is contained in:
@@ -129,13 +129,6 @@ const rtems_libio_helper rtems_libio_post_driver_helper =
|
||||
rtems_libio_post_driver;
|
||||
#endif
|
||||
|
||||
const rtems_libio_helper rtems_libio_exit_helper =
|
||||
#ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
|
||||
rtems_libio_helper_null;
|
||||
#else
|
||||
rtems_libio_exit;
|
||||
#endif
|
||||
|
||||
#ifndef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
|
||||
RTEMS_SYSINIT_ITEM(
|
||||
rtems_filesystem_initialize,
|
||||
|
||||
Reference in New Issue
Block a user