Common ancestor class of all reference-counted objects.
oop_referenced_object.xml
oop_sequential_stream.xml
oop_sequential_stream.h
Type of a file offset.
Type of a node mode.
Type of a seek mode.
Type of a directory entry structure.
Type of a node information structure.
Add time, permissions etc.
Structure representing a directory entry.
Node mode.
Size of the node.
Name of the node.
Structure representing a node information.
Node mode.
Size of the node.
Common ancestor class of all VFS nodes.
Driver handling this node.
Node mode information.
Pointer to
the controlling driver.
Node mode flags.
driver = driver;
self->mode = mode;]]>
Returns information about the node.
Pointer to a @p
vfs_stat_t structure.
The operation result.
mode = self->mode;
sp->size = (vfs_offset_t)0;
return CH_RET_SUCCESS;]]>
Ancestor class of all VFS directory nodes classes.
Pointer to
the controlling driver.
Node mode flags.
First directory entry.
Pointer
to a @p vfs_direntry_info_t structure.
The operation result.
(void)self;
(void)dip;
return CH_RET_ENOSYS;
Next directory entry.
Pointer
to a @p vfs_direntry_info_t structure.
The operation result.
(void)self;
(void)dip;
return CH_RET_ENOSYS;
Ancestor class of all VFS file nodes classes.
Pointer to
the controlling driver.
Node mode flags.
File node read.
Pointer to the data
buffer.
Maximum amount of data to
be transferred.
The transferred number of bytes or an error.
(void)self;
(void)buf;
(void)n;
return CH_RET_ENOSYS;
File node read.
Pointer to the
data buffer.
Maximum amount of data to
be transferred.
The transferred number of bytes or an error.
(void)self;
(void)buf;
(void)n;
return CH_RET_ENOSYS;
Changes the current file position.
Offset to be
applied.
Seek mode to
be used.
The operation result.
(void)self;
(void)offset;
(void)whence;
return CH_RET_ENOSYS;
Returns the current file position.
The current file position.
(void)self;
return CH_RET_ENOSYS;
Returns the inner HAL stream associated to the file.
Pointer to the HAL stream interface.
(void)self;
return NULL;
vfs.h