From 6683a58d6ec2168e08f25ffa04febab71391371d Mon Sep 17 00:00:00 2001 From: Jennifer Averett Date: Wed, 30 Jun 2010 13:58:56 +0000 Subject: 2010-06-30 Jennifer.Averett * libcsupport/include/rtems/libio.h, libfs/Makefile.am: Added filesystem default mknod method. * libfs/src/defaults/default_mknod.c: New file. --- cpukit/libcsupport/include/rtems/libio.h | 11 +++++++++++ 1 file changed, 11 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 3b5e373b68..d0edc1e184 100644 --- a/cpukit/libcsupport/include/rtems/libio.h +++ b/cpukit/libcsupport/include/rtems/libio.h @@ -916,6 +916,17 @@ int rtems_filesystem_default_unlink( rtems_filesystem_location_info_t *pathloc /* IN */ ); +/** + * @brief Provides a defualt routine for filesystem + * implementation to create a new node. + */ +int rtems_filesystem_default_mknod( + const char *path, /* IN */ + mode_t mode, /* IN */ + dev_t dev, /* IN */ + rtems_filesystem_location_info_t *pathloc /* IN/OUT */ +); + /** * @brief Provides a defualt routine for filesystem * implementation of a chown command. -- cgit v1.2.3