From b7cf1ff7174377c65816908be427e1a76a5fa20f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 24 Apr 2013 15:04:30 +0200 Subject: libcsupport: Delete libc_wrapup() Add and use rtems_libio_exit_helper. Add rtems_libio_exit(). The fclose(stdin) etc. makes no sense during exit. This would use the _REENT structure of the thread calling _exit(). --- cpukit/libcsupport/include/rtems/libio.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpukit/libcsupport/include/rtems/libio.h') diff --git a/cpukit/libcsupport/include/rtems/libio.h b/cpukit/libcsupport/include/rtems/libio.h index ec2ced3e7b..23853f916e 100644 --- a/cpukit/libcsupport/include/rtems/libio.h +++ b/cpukit/libcsupport/include/rtems/libio.h @@ -1392,12 +1392,16 @@ extern const rtems_libio_helper rtems_libio_init_helper; extern const rtems_libio_helper rtems_libio_post_driver_helper; +extern const rtems_libio_helper rtems_libio_exit_helper; + extern const rtems_libio_helper rtems_fs_init_helper; void rtems_libio_helper_null(void); void rtems_libio_post_driver(void); +void rtems_libio_exit(void); + /** * @brief Creates a directory and all its parent directories according to * @a path. -- cgit v1.2.3