ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
FsIoArgs Struct Reference

The open file a call acts on, and the bytes it moves. More...

#include <filesystem.h>

Public Attributes

int handle
 the open file or directory a call acts on
protocore_mnt_mode mode
 how an open asks for it
void * buf
 where a read lands, or what a write sends
const void * wbuf
 the bytes a write sends, when they are const
size_t n
 how many
uint64_t off
 where a seek moves to
char * name_out
 where a directory read writes the entry name
size_t name_cap
 how much room that has
protocore_mnt_stat * stat
 where a stat or a directory read lands its entry

Detailed Description

The open file a call acts on, and the bytes it moves.

Definition at line 198 of file filesystem.h.

Member Data Documentation

◆ handle

int FsIoArgs::handle

the open file or directory a call acts on

Definition at line 200 of file filesystem.h.

◆ mode

protocore_mnt_mode FsIoArgs::mode

how an open asks for it

Definition at line 201 of file filesystem.h.

◆ buf

void* FsIoArgs::buf

where a read lands, or what a write sends

Definition at line 202 of file filesystem.h.

◆ wbuf

const void* FsIoArgs::wbuf

the bytes a write sends, when they are const

Definition at line 203 of file filesystem.h.

◆ n

size_t FsIoArgs::n

how many

Definition at line 204 of file filesystem.h.

◆ off

uint64_t FsIoArgs::off

where a seek moves to

Definition at line 205 of file filesystem.h.

◆ name_out

char* FsIoArgs::name_out

where a directory read writes the entry name

Definition at line 206 of file filesystem.h.

◆ name_cap

size_t FsIoArgs::name_cap

how much room that has

Definition at line 207 of file filesystem.h.

◆ stat

protocore_mnt_stat* FsIoArgs::stat

where a stat or a directory read lands its entry

Definition at line 208 of file filesystem.h.


The documentation for this struct was generated from the following file: