Handler table functions are defined in a rtems_filesystem_file_handlers_r structure. It defines functions that are specific to a node type in a given filesystem. One table exists for each of the filesystem's node types. The structure definition appears below. It is followed by general developmental information on each of the functions associated with devices contained in this function management structure.
typedef struct { rtems_filesystem_open_t open; rtems_filesystem_close_t close; rtems_filesystem_read_t read; rtems_filesystem_write_t write; rtems_filesystem_ioctl_t ioctl; rtems_filesystem_lseek_t lseek; rtems_filesystem_fstat_t fstat; rtems_filesystem_fchmod_t fchmod; rtems_filesystem_ftruncate_t ftruncate; rtems_filesystem_fpathconf_t fpathconf; rtems_filesystem_fsync_t fsync; rtems_filesystem_fdatasync_t fdatasync; } rtems_filesystem_file_handlers_r;
Copyright © 1988-2003 OAR Corporation