PSPSDK 2026-10-30
Loading...
Searching...
No Matches
PspIoDrvFileArg Struct Reference

Structure passed to the file functions of the io driver system. More...

#include <kernel/pspiofilemgr_kernel.h>

Collaboration diagram for PspIoDrvFileArg:

Data Fields

u32 flags
 The file flags.
 
u32 fs_num
 The file system number, e.g.
 
PspIoDrvArg * drv
 A pointer to the driver entry data.
 
u32 dev_attr
 The device attributes.
 
void * arg
 Pointer to a user defined argument, this is preserved on a per file basis.
 

Detailed Description

Structure passed to the file functions of the io driver system.

Field Documentation

◆ arg

void* PspIoDrvFileArg::arg

Pointer to a user defined argument, this is preserved on a per file basis.

◆ dev_attr

u32 PspIoDrvFileArg::dev_attr

The device attributes.

◆ drv

PspIoDrvArg* PspIoDrvFileArg::drv

A pointer to the driver entry data.

◆ flags

u32 PspIoDrvFileArg::flags

The file flags.

Bit or'ed PSP_O_* flags

◆ fs_num

u32 PspIoDrvFileArg::fs_num

The file system number, e.g.

if a file is opened as host5:/myfile.txt this field will be 5


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