summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include/rtems/libio.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-04-24 15:04:30 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-04-26 10:57:08 +0200
commitb7cf1ff7174377c65816908be427e1a76a5fa20f (patch)
tree13fb6a245c53df77b5e4559d809c7984559156ef /cpukit/libcsupport/include/rtems/libio.h
parentlibcsupport: Rename open_dev_console() (diff)
downloadrtems-b7cf1ff7174377c65816908be427e1a76a5fa20f.tar.bz2
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().
Diffstat (limited to 'cpukit/libcsupport/include/rtems/libio.h')
-rw-r--r--cpukit/libcsupport/include/rtems/libio.h4
1 files changed, 4 insertions, 0 deletions
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.