45#ifndef _RTEMS_RTEMS_LIBIO_H
46#define _RTEMS_RTEMS_LIBIO_H
50#include <sys/ioccom.h>
392 struct timespec
times[2]
655 struct timespec
times[2]
787 const struct iovec *iov,
830 const struct iovec *iov,
849 ioctl_command_t request,
1072 const struct iovec *iov,
1095 const struct iovec *iov,
1107 ioctl_command_t request,
1302 int posix_chown_restrictions;
1345 uint32_t bytes_moved;
1362 ioctl_command_t command;
1372#define LIBIO_FLAGS_FREE 0x0001U
1373#define LIBIO_FLAGS_NO_DELAY 0x0002U
1374#define LIBIO_FLAGS_READ 0x0004U
1375#define LIBIO_FLAGS_WRITE 0x0008U
1376#define LIBIO_FLAGS_OPEN 0x0100U
1377#define LIBIO_FLAGS_APPEND 0x0200U
1378#define LIBIO_FLAGS_CLOSE_BUSY 0x0400U
1379#define LIBIO_FLAGS_CLOSE_ON_EXEC 0x0800U
1380#define LIBIO_FLAGS_REFERENCE_INC 0x1000U
1382#define LIBIO_FLAGS_READ_WRITE (LIBIO_FLAGS_READ | LIBIO_FLAGS_WRITE)
1383#define LIBIO_FLAGS_FLAGS_MASK (LIBIO_FLAGS_REFERENCE_INC - 1U)
1384#define LIBIO_FLAGS_REFERENCE_MASK (~LIBIO_FLAGS_FLAGS_MASK)
1388static inline unsigned int rtems_libio_iop_flags(
const rtems_libio_t *iop )
1390 return _Atomic_Load_uint( &iop->flags, ATOMIC_ORDER_RELAXED );
1399static inline unsigned int rtems_libio_iop_flags_bad_fd(
1400 const unsigned int flags
1403 return ( ( flags & LIBIO_FLAGS_FREE ) != 0 )
1404 || ( ( flags & LIBIO_FLAGS_OPEN ) == 0 );
1412static inline bool rtems_libio_iop_is_no_delay(
const rtems_libio_t *iop )
1414 return ( rtems_libio_iop_flags( iop ) & LIBIO_FLAGS_NO_DELAY ) != 0;
1422static inline bool rtems_libio_iop_is_readable(
const rtems_libio_t *iop )
1424 return ( rtems_libio_iop_flags( iop ) & LIBIO_FLAGS_READ ) != 0;
1432static inline bool rtems_libio_iop_is_writeable(
const rtems_libio_t *iop )
1434 return ( rtems_libio_iop_flags( iop ) & LIBIO_FLAGS_WRITE ) != 0;
1442static inline bool rtems_libio_iop_is_open(
const rtems_libio_t *iop )
1444 return ( rtems_libio_iop_flags( iop ) & LIBIO_FLAGS_OPEN ) != 0;
1452static inline bool rtems_libio_iop_is_append(
const rtems_libio_t *iop )
1454 return ( rtems_libio_iop_flags( iop ) & LIBIO_FLAGS_APPEND ) != 0;
1462static inline bool rtems_libio_iop_is_held(
const rtems_libio_t *iop )
1464 const unsigned int ref_count =
1465 rtems_libio_iop_flags( iop ) & LIBIO_FLAGS_REFERENCE_MASK;
1466 return ref_count != 0;
1474static inline bool rtems_libio_iop_is_free(
const rtems_libio_t *iop )
1476 return ( rtems_libio_iop_flags( iop ) & LIBIO_FLAGS_FREE ) != 0;
1484typedef int (*rtems_libio_open_t)(
1485 const char *pathname,
1490typedef int (*rtems_libio_close_t)(
1494typedef ssize_t (*rtems_libio_read_t)(
1500typedef ssize_t (*rtems_libio_write_t)(
1506typedef int (*rtems_libio_ioctl_t)(
1512typedef off_t (*rtems_libio_lseek_t)(
1530#define RTEMS_FS_PERMS_READ 0x4
1531#define RTEMS_FS_PERMS_WRITE 0x2
1532#define RTEMS_FS_PERMS_EXEC 0x1
1533#define RTEMS_FS_PERMS_RWX \
1534 (RTEMS_FS_PERMS_READ | RTEMS_FS_PERMS_WRITE | RTEMS_FS_PERMS_EXEC)
1535#define RTEMS_FS_FOLLOW_HARD_LINK 0x8
1536#define RTEMS_FS_FOLLOW_SYM_LINK 0x10
1537#define RTEMS_FS_FOLLOW_LINK \
1538 (RTEMS_FS_FOLLOW_HARD_LINK | RTEMS_FS_FOLLOW_SYM_LINK)
1539#define RTEMS_FS_MAKE 0x20
1540#define RTEMS_FS_EXCLUSIVE 0x40
1541#define RTEMS_FS_ACCEPT_RESIDUAL_DELIMITERS 0x80
1542#define RTEMS_FS_REJECT_TERMINAL_DOT 0x100
1554static inline dev_t rtems_filesystem_make_dev_t(
1561 temp.__overlay.major = _major;
1562 temp.__overlay.minor = _minor;
1566static inline dev_t rtems_filesystem_make_dev_t_from_pointer(
1570 uint64_t temp = (((uint64_t) 1) << 63) | (((uintptr_t) pointer) >> 1);
1572 return rtems_filesystem_make_dev_t((uint32_t) (temp >> 32), (uint32_t) temp);
1581 temp.device = device;
1582 return temp.__overlay.major;
1592 temp.device = device;
1593 return temp.__overlay.minor;
1596#define rtems_filesystem_split_dev_t( _dev, _major, _minor ) \
1598 (_major) = rtems_filesystem_dev_major_t ( _dev ); \
1599 (_minor) = rtems_filesystem_dev_minor_t( _dev ); \
1616void rtems_libio_post_driver(
void);
1618void rtems_libio_exit(
void);
1629extern int rtems_mkdir(
const char *path, mode_t mode);
1647#define RTEMS_FILESYSTEM_TYPE_IMFS "imfs"
1648#define RTEMS_FILESYSTEM_TYPE_FTPFS "ftpfs"
1649#define RTEMS_FILESYSTEM_TYPE_TFTPFS "tftpfs"
1650#define RTEMS_FILESYSTEM_TYPE_NFS "nfs"
1651#define RTEMS_FILESYSTEM_TYPE_DOSFS "dosfs"
1652#define RTEMS_FILESYSTEM_TYPE_FATFS "fatfs"
1653#define RTEMS_FILESYSTEM_TYPE_RFS "rfs"
1654#define RTEMS_FILESYSTEM_TYPE_JFFS2 "jffs2"
1665 const void *immutable_fs_info;
1671 bool no_regular_file_mknod;
1706 RTEMS_FILESYSTEM_READ_ONLY,
1707 RTEMS_FILESYSTEM_READ_WRITE,
1708 RTEMS_FILESYSTEM_BAD_OPTIONS
1774 const char *mount_path
1827 const char *filesystemtype,
1846 const char *filesystemtype,
1916 const char *filesystemtype;
1922 rtems_filesystem_root_configuration;
1938 int (*firstOpen)(
int major,
int minor,
void *arg);
1939 int (*lastClose)(
int major,
int minor,
void *arg);
1940 int (*pollRead)(
int minor);
1941 ssize_t (*write)(
int minor,
const char *buf,
size_t len);
1942 int (*setAttributes)(
int minor,
const struct termios *t);
1943 int (*stopRemoteTx)(
int minor);
1944 int (*startRemoteTx)(
int minor);
1945 rtems_termios_device_mode outputUsesInterrupts;
1948static inline void rtems_termios_initialize(
void )
2075int rtems_termios_enqueue_raw_characters(
2104int rtems_termios_dequeue_characters(
2114#define rtems_filesystem_pathconf(_mte) ((_mte)->pathconf_limits_and_options)
2119#define rtems_filesystem_type(_mte) ((_mte)->type)
2124#define rtems_filesystem_mount_point(_mte) ((_mte)->target)
2129#define rtems_filesystem_mount_device(_mte) ((_mte)->dev)
clock_t times(struct tms *ptms)
Definition: __times.c:97
This header file provides the Chains API.
bool rtems_filesystem_mount_iterate(rtems_filesystem_mt_entry_visitor visitor, void *visitor_arg)
Iterates over all file system mount entries.
Definition: sup_fs_mount_iterate.c:42
int rtems_filesystem_register(const char *type, rtems_filesystem_mount_t mount_h)
Registers a file system type.
Definition: mount-mgr.c:126
int mount_and_make_target_path(const char *source, const char *target, const char *filesystemtype, rtems_filesystem_options_t options, const void *data)
Mounts a file system and makes the target path.
Definition: mount-mktgt.c:44
bool rtems_filesystem_iterate(rtems_per_filesystem_routine routine, void *routine_arg)
Iterates over all file system types.
Definition: mount-mgr.c:58
int unmount(const char *mount_path)
Unmounts the file system instance at the specified mount path.
Definition: unmount.c:62
int rtems_filesystem_unregister(const char *type)
Unregisters a file system type.
Definition: mount-mgr.c:160
const rtems_filesystem_table_t rtems_filesystem_table[]
Static table of file systems.
bool(* rtems_filesystem_mt_entry_visitor)(const rtems_filesystem_mount_table_entry_t *mt_entry, void *arg)
Mount table entry visitor.
Definition: libio.h:1890
bool(* rtems_per_filesystem_routine)(const rtems_filesystem_table_t *fs_entry, void *arg)
Per file system type routine.
Definition: libio.h:1859
rtems_filesystem_options_t
File system options.
Definition: libio.h:1705
int mount(const char *source, const char *target, const char *filesystemtype, rtems_filesystem_options_t options, const void *data)
Mounts a file system instance at the specified target path.
Definition: mount.c:197
int(* rtems_filesystem_ioctl_t)(rtems_libio_t *iop, ioctl_command_t request, void *buffer)
IO control of a node.
Definition: libio.h:847
int rtems_filesystem_default_fcntl(rtems_libio_t *iop, int cmd)
Definition: default_fcntl.c:41
int(* rtems_filesystem_poll_t)(rtems_libio_t *iop, int events)
Poll and select support.
Definition: libio.h:962
int rtems_filesystem_default_ftruncate(rtems_libio_t *iop, off_t length)
Definition: default_ftruncate.c:44
int rtems_filesystem_default_ftruncate_directory(rtems_libio_t *iop, off_t length)
Definition: default_ftruncate_directory.c:43
off_t rtems_filesystem_default_lseek_directory(rtems_libio_t *iop, off_t offset, int whence)
An offset 0 with a whence of SEEK_SET will perform a directory rewind operation.
Definition: default_lseek_directory.c:42
ssize_t(* rtems_filesystem_read_t)(rtems_libio_t *iop, void *buffer, size_t count)
Reads from a node.
Definition: libio.h:763
int(* rtems_filesystem_fcntl_t)(rtems_libio_t *iop, int cmd)
File control.
Definition: libio.h:947
int rtems_filesystem_default_ioctl(rtems_libio_t *iop, ioctl_command_t request, void *buffer)
Definition: default_ioctl.c:43
int rtems_filesystem_default_poll(rtems_libio_t *iop, int events)
Default poll handler.
Definition: default_poll.c:44
int rtems_filesystem_default_fsync_or_fdatasync(rtems_libio_t *iop)
Definition: default_fsync.c:43
const rtems_filesystem_file_handlers_r rtems_filesystem_handlers_default
File system node handler table with default node handlers.
Definition: default_handlers.c:38
off_t rtems_filesystem_default_lseek_file(rtems_libio_t *iop, off_t offset, int whence)
Default lseek() handler for files.
Definition: default_lseek_file.c:42
int(* rtems_filesystem_kqfilter_t)(rtems_libio_t *iop, struct knote *kn)
Kernel event filter support.
Definition: libio.h:978
int rtems_filesystem_default_fstat(const rtems_filesystem_location_info_t *loc, struct stat *buf)
Sets the mode to S_IRWXU | S_IRWXG | S_IRWXO.
Definition: default_fstat.c:43
int rtems_filesystem_default_fsync_or_fdatasync_success(rtems_libio_t *iop)
Definition: default_fsync_success.c:42
int rtems_filesystem_default_kqfilter(rtems_libio_t *iop, struct knote *kn)
Default kernel event filter handler.
Definition: default_kqfilter.c:42
ssize_t rtems_filesystem_default_writev(rtems_libio_t *iop, const struct iovec *iov, int iovcnt, ssize_t total)
Calls the write handler for each IO vector entry.
Definition: default_writev.c:45
int(* rtems_filesystem_close_t)(rtems_libio_t *iop)
Closes a node.
Definition: libio.h:745
ssize_t rtems_filesystem_default_readv(rtems_libio_t *iop, const struct iovec *iov, int iovcnt, ssize_t total)
Calls the read handler for each IO vector entry.
Definition: default_readv.c:45
off_t(* rtems_filesystem_lseek_t)(rtems_libio_t *iop, off_t offset, int whence)
Moves the read/write file offset.
Definition: libio.h:867
off_t rtems_filesystem_default_lseek(rtems_libio_t *iop, off_t offset, int whence)
Definition: default_lseek.c:43
ssize_t(* rtems_filesystem_writev_t)(rtems_libio_t *iop, const struct iovec *iov, int iovcnt, ssize_t total)
Writes an IO vector to a node.
Definition: libio.h:828
int(* rtems_filesystem_fstat_t)(const rtems_filesystem_location_info_t *loc, struct stat *buf)
Gets a node status.
Definition: libio.h:884
int rtems_filesystem_default_mmap(rtems_libio_t *iop, void **addr, size_t len, int prot, off_t off)
Default MMAP handler.
Definition: default_mmap.c:42
ssize_t(* rtems_filesystem_write_t)(rtems_libio_t *iop, const void *buffer, size_t count)
Writes to a node.
Definition: libio.h:806
int rtems_filesystem_default_close(rtems_libio_t *iop)
Definition: default_close.c:37
int(* rtems_filesystem_fsync_t)(rtems_libio_t *iop)
Synchronizes changes to a file.
Definition: libio.h:917
ssize_t rtems_filesystem_default_read(rtems_libio_t *iop, void *buffer, size_t count)
Definition: default_read.c:39
int(* rtems_filesystem_fdatasync_t)(rtems_libio_t *iop)
Synchronizes the data of a file.
Definition: libio.h:932
int rtems_filesystem_default_open(rtems_libio_t *iop, const char *path, int oflag, mode_t mode)
Definition: default_open.c:43
int(* rtems_filesystem_mmap_t)(rtems_libio_t *iop, void **addr, size_t len, int prot, off_t off)
MMAP support.
Definition: libio.h:997
ssize_t(* rtems_filesystem_readv_t)(rtems_libio_t *iop, const struct iovec *iov, int iovcnt, ssize_t total)
Reads an IO vector from a node.
Definition: libio.h:785
ssize_t rtems_filesystem_default_write(rtems_libio_t *iop, const void *buffer, size_t count)
Definition: default_write.c:41
int(* rtems_filesystem_ftruncate_t)(rtems_libio_t *iop, off_t length)
Truncates a file to a specified length.
Definition: libio.h:901
int(* rtems_filesystem_open_t)(rtems_libio_t *iop, const char *path, int oflag, mode_t mode)
Opens a node.
Definition: libio.h:728
int(* rtems_filesystem_statvfs_t)(const rtems_filesystem_location_info_t *loc, struct statvfs *buf)
Gets file system information.
Definition: libio.h:467
int rtems_filesystem_default_unmount(rtems_filesystem_mount_table_entry_t *mt_entry)
Definition: default_unmount.c:41
int(* rtems_filesystem_link_t)(const rtems_filesystem_location_info_t *parentloc, const rtems_filesystem_location_info_t *targetloc, const char *name, size_t namelen)
Creates a new link for the existing file.
Definition: libio.h:195
int(* rtems_filesystem_fchmod_t)(const rtems_filesystem_location_info_t *loc, mode_t mode)
Changes the mode of a node.
Definition: libio.h:213
void rtems_filesystem_default_lock(const rtems_filesystem_mount_table_entry_t *mt_entry)
Obtains the IO library mutex.
Definition: default_lock_and_unlock.c:42
int rtems_filesystem_default_rename(const rtems_filesystem_location_info_t *oldparentloc, const rtems_filesystem_location_info_t *oldloc, const rtems_filesystem_location_info_t *newparentloc, const char *name, size_t namelen)
Definition: default_rename.c:44
void(* rtems_filesystem_fsunmount_me_t)(rtems_filesystem_mount_table_entry_t *mt_entry)
Destroys a file system instance.
Definition: libio.h:316
int rtems_filesystem_default_mknod(const rtems_filesystem_location_info_t *parentloc, const char *name, size_t namelen, mode_t mode, dev_t dev)
Definition: default_mknod.c:44
int(* rtems_filesystem_mount_t)(rtems_filesystem_mount_table_entry_t *mt_entry, const void *data)
Mounts a file system instance in a mount point (directory).
Definition: libio.h:282
int rtems_filesystem_default_fchmod(const rtems_filesystem_location_info_t *loc, mode_t mode)
Definition: default_fchmod.c:42
void(* rtems_filesystem_eval_path_t)(rtems_filesystem_eval_path_context_t *ctx)
Path evaluation.
Definition: libio.h:178
int(* rtems_filesystem_unmount_t)(rtems_filesystem_mount_table_entry_t *mt_entry)
Unmounts a file system instance in a mount point (directory).
Definition: libio.h:301
int rtems_filesystem_default_clonenode(rtems_filesystem_location_info_t *loc)
Definition: default_clone.c:42
void rtems_filesystem_default_unlock(const rtems_filesystem_mount_table_entry_t *mt_entry)
Releases the IO library mutex.
Definition: default_lock_and_unlock.c:51
bool rtems_filesystem_default_are_nodes_equal(const rtems_filesystem_location_info_t *a, const rtems_filesystem_location_info_t *b)
Tests if the node access pointer of one location is equal to the node access pointer of the other loc...
Definition: default_are_nodes_equal.c:42
int(* rtems_filesystem_rmnod_t)(const rtems_filesystem_location_info_t *parentloc, const rtems_filesystem_location_info_t *loc)
Removes a node.
Definition: libio.h:374
int rtems_filesystem_default_rmnod(const rtems_filesystem_location_info_t *parentloc, const rtems_filesystem_location_info_t *loc)
Definition: default_rmnod.c:44
int(* rtems_filesystem_rename_t)(const rtems_filesystem_location_info_t *oldparentloc, const rtems_filesystem_location_info_t *oldloc, const rtems_filesystem_location_info_t *newparentloc, const char *name, size_t namelen)
Renames a node.
Definition: libio.h:448
int(* rtems_filesystem_clonenode_t)(rtems_filesystem_location_info_t *loc)
Clones a location.
Definition: libio.h:251
void rtems_filesystem_default_freenode(const rtems_filesystem_location_info_t *loc)
Definition: default_freenode.c:43
ssize_t(* rtems_filesystem_readlink_t)(const rtems_filesystem_location_info_t *loc, char *buf, size_t bufsize)
Reads the contents of a symbolic link.
Definition: libio.h:428
void rtems_filesystem_default_fsunmount(rtems_filesystem_mount_table_entry_t *mt_entry)
Definition: default_fsunmount.c:39
int(* rtems_filesystem_mknod_t)(const rtems_filesystem_location_info_t *parentloc, const char *name, size_t namelen, mode_t mode, dev_t dev)
Creates a new node.
Definition: libio.h:355
bool(* rtems_filesystem_are_nodes_equal_t)(const rtems_filesystem_location_info_t *a, const rtems_filesystem_location_info_t *b)
Tests if the node of one location is equal to the node of the other location.
Definition: libio.h:334
void(* rtems_filesystem_mt_entry_unlock_t)(const rtems_filesystem_mount_table_entry_t *mt_entry)
Unlocks a file system instance.
Definition: libio.h:98
void rtems_filesystem_default_eval_path(rtems_filesystem_eval_path_context_t *ctx)
Terminates the path evaluation and replaces the current location with the null location.
Definition: default_eval_path.c:42
int rtems_filesystem_default_symlink(const rtems_filesystem_location_info_t *parentloc, const char *name, size_t namelen, const char *target)
Definition: default_symlink.c:44
int rtems_filesystem_default_statvfs(const rtems_filesystem_location_info_t *loc, struct statvfs *buf)
Definition: default_statvfs.c:42
int(* rtems_filesystem_utimens_t)(const rtems_filesystem_location_info_t *loc, struct timespec times[2])
Set node access and modification times.
Definition: libio.h:390
int(* rtems_filesystem_chown_t)(const rtems_filesystem_location_info_t *loc, uid_t owner, gid_t group)
Changes owner and group of a node.
Definition: libio.h:230
const rtems_filesystem_operations_table rtems_filesystem_operations_default
File system operations table with default operations.
Definition: default_ops.c:38
void(* rtems_filesystem_freenode_t)(const rtems_filesystem_location_info_t *loc)
Frees the location of a node.
Definition: libio.h:262
void(* rtems_filesystem_mt_entry_lock_t)(const rtems_filesystem_mount_table_entry_t *mt_entry)
Locks a file system instance.
Definition: libio.h:87
int rtems_filesystem_default_chown(const rtems_filesystem_location_info_t *loc, uid_t owner, gid_t group)
Definition: default_chown.c:42
ssize_t rtems_filesystem_default_readlink(const rtems_filesystem_location_info_t *loc, char *buf, size_t bufsize)
Definition: default_readlink.c:44
int(* rtems_filesystem_symlink_t)(const rtems_filesystem_location_info_t *parentloc, const char *name, size_t namelen, const char *target)
Makes a symbolic link to a node.
Definition: libio.h:409
int rtems_filesystem_default_mount(rtems_filesystem_mount_table_entry_t *mt_entry, const void *data)
Definition: default_mount.c:41
int rtems_filesystem_default_link(const rtems_filesystem_location_info_t *parentloc, const rtems_filesystem_location_info_t *targetloc, const char *name, size_t namelen)
Definition: default_link.c:42
int rtems_filesystem_default_utimens(const rtems_filesystem_location_info_t *loc, struct timespec times[2])
Definition: default_utimens.c:43
struct rtems_libio_open_close_args rtems_libio_open_close_args_t
Parameter block for open/close.
int rtems_mkdir(const char *path, mode_t mode)
Creates a directory and all its parent directories according to path.
Definition: rtems_mkdir.c:130
void rtems_filesystem_initialize(void)
Base File System Initialization.
Definition: base_fs.c:51
rtems_filesystem_mount_t rtems_filesystem_get_mount_handler(const char *type)
Gets the mount handler for the file system type.
Definition: mount-mgr.c:109
const rtems_filesystem_limits_and_options_t rtems_filesystem_default_pathconf
Default pathconf settings.
Definition: mount.c:49
uint32_t rtems_device_major_number
This integer type represents the major number of devices.
Definition: io.h:103
uint32_t rtems_device_minor_number
This integer type represents the minor number of devices.
Definition: io.h:115
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
Objects_Id rtems_id
This type represents RTEMS object identifiers.
Definition: types.h:94
rtems_termios_iproc_status_code rtems_termios_default_isig_handler(unsigned char c, struct rtems_termios_tty *tty)
Default handler for ISIG (VINTR/VKILL)
Definition: termios.c:1332
rtems_termios_iproc_status_code(* rtems_termios_isig_handler)(unsigned char c, struct rtems_termios_tty *tty)
Type for ISIG (VINTR/VKILL) handler.
Definition: libio.h:2013
rtems_termios_iproc_status_code
The status code returned by all Termios input processing (iproc) functions and input signal (isig) ha...
Definition: libio.h:1968
rtems_status_code rtems_termios_register_isig_handler(rtems_termios_isig_handler handler)
Register handler for ISIG (VINTR/VKILL)
Definition: termios.c:1347
rtems_termios_iproc_status_code rtems_termios_posix_isig_handler(unsigned char c, struct rtems_termios_tty *tty)
POSIX handler for ISIG (VINTR/VKILL)
Definition: termios_posix_isig_handler.c:23
@ RTEMS_TERMIOS_IPROC_DONE
This status indicates that the input processing is done.
Definition: libio.h:1994
@ RTEMS_TERMIOS_IPROC_CONTINUE
This status indicates that the input processing can continue.
Definition: libio.h:1975
@ RTEMS_TERMIOS_IPROC_INTERRUPT
This status indicates that the input processing should stop due to a signal.
Definition: libio.h:1987
rtems_termios_device_handler handler
The device handler.
Definition: termiostypes.h:166
This header file provides the interfaces of the Atomic Operations.
This header file defines the RTEMS Classic API.
This header file provides the statvfs() and fstatvfs() interfaces.
This structure represents a chain node.
Definition: chain.h:78
Definition: xnandpsu_onfi.h:185
File system node operations table.
Definition: libio.h:1008
File system operations table.
Definition: libio.h:475
Definition: iterateoverthreads.c:44
Path evaluation context.
Definition: libio.h:105
int recursionlevel
Definition: libio.h:147
rtems_filesystem_location_info_t currentloc
Definition: libio.h:156
const char * path
Definition: libio.h:109
size_t pathlen
Definition: libio.h:114
rtems_filesystem_global_location_t * rootloc
Definition: libio.h:162
size_t tokenlen
Definition: libio.h:126
const char * token
Definition: libio.h:120
int flags
Definition: libio.h:140
rtems_filesystem_global_location_t * startloc
Definition: libio.h:168
Global file system location.
Definition: fs.h:100
Contain file system specific information which is required to support fpathconf().
Definition: libio.h:1294
File system location.
Definition: fs.h:72
Mount table entry.
Definition: libio.h:1661
rtems_id unmount_task
Definition: libio.h:1699
File system table entry.
Definition: libio.h:1714
Parameter block for ioctl.
Definition: libio.h:1360
Parameter block for open/close.
Definition: libio.h:1351
Paramameter block for read/write.
Definition: libio.h:1339
An open file data structure.
Definition: libio.h:1325
Definition: termiostypes.h:94
This header file provides the interfaces of the RTEMS Termios Device Support.
This union represents a chain control block.
Definition: chain.h:96