sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
fileXio_rpc.h File Reference
#include <fileXio.h>
#include <sys/stat.h>

Go to the source code of this file.

Macros

#define FXIO_WAIT   0
#define FXIO_NOWAIT   1
#define FXIO_COMPLETE   1
#define FXIO_INCOMPLETE   0

Functions

int fileXioInit (void)
void fileXioExit (void)
void fileXioSetBlockMode (int blocking)
int fileXioWaitAsync (int mode, int *retVal)
void fileXioStop ()
int fileXioGetDeviceList (struct fileXioDevice deviceEntry[], unsigned int req_entries)
int fileXioGetdir (const char *pathname, struct fileXioDirEntry DirEntry[], unsigned int req_entries)
int fileXioMount (const char *mountpoint, const char *blockdev, int flag)
int fileXioUmount (const char *mountpoint)
int fileXioCopyfile (const char *source, const char *dest, int mode)
int fileXioMkdir (const char *pathname, int mode)
int fileXioRmdir (const char *pathname)
int fileXioRemove (const char *pathname)
int fileXioRename (const char *source, const char *dest)
int fileXioSymlink (const char *source, const char *dest)
int fileXioReadlink (const char *source, char *buf, unsigned int buflen)
int fileXioChdir (const char *pathname)
int fileXioOpen (const char *source, int flags,...)
int fileXioClose (int fd)
int fileXioRead (int fd, void *buf, int size)
int fileXioWrite (int fd, const void *buf, int size)
int fileXioLseek (int fd, int offset, int whence)
s64 fileXioLseek64 (int fd, s64 offset, int whence)
int fileXioChStat (const char *name, iox_stat_t *stat, int mask)
int fileXioGetStat (const char *name, iox_stat_t *stat)
int fileXioFormat (const char *dev, const char *blockdev, const void *args, int arglen)
int fileXioSync (const char *devname, int flag)
int fileXioDopen (const char *name)
int fileXioDclose (int fd)
int fileXioDread (int fd, iox_dirent_t *dirent)
int fileXioDevctl (const char *name, int cmd, void *arg, unsigned int arglen, void *buf, unsigned int buflen)
int fileXioIoctl (int fd, int cmd, void *arg)
int fileXioIoctl2 (int fd, int command, void *arg, unsigned int arglen, void *buf, unsigned int buflen)
int fileXioSetRWBufferSize (int size)

Detailed Description

fileXio RPC client header file

Definition in file fileXio_rpc.h.

Macro Definition Documentation

◆ FXIO_COMPLETE

#define FXIO_COMPLETE   1

Definition at line 31 of file fileXio_rpc.h.

◆ FXIO_INCOMPLETE

#define FXIO_INCOMPLETE   0

Definition at line 32 of file fileXio_rpc.h.

◆ FXIO_NOWAIT

#define FXIO_NOWAIT   1

Definition at line 29 of file fileXio_rpc.h.

◆ FXIO_WAIT

#define FXIO_WAIT   0

Definition at line 28 of file fileXio_rpc.h.

Function Documentation

◆ fileXioChdir()

int fileXioChdir ( const char * pathname)
extern

Definition at line 435 of file fileXio_rpc.c.

◆ fileXioChStat()

int fileXioChStat ( const char * name,
iox_stat_t * stat,
int mask )
extern

Definition at line 663 of file fileXio_rpc.c.

◆ fileXioClose()

int fileXioClose ( int fd)
extern

Definition at line 491 of file fileXio_rpc.c.

◆ fileXioCopyfile()

int fileXioCopyfile ( const char * source,
const char * dest,
int mode )
extern

Definition at line 250 of file fileXio_rpc.c.

◆ fileXioDclose()

int fileXioDclose ( int fd)
extern

Definition at line 802 of file fileXio_rpc.c.

◆ fileXioDevctl()

int fileXioDevctl ( const char * name,
int cmd,
void * arg,
unsigned int arglen,
void * buf,
unsigned int buflen )
extern

Definition at line 864 of file fileXio_rpc.c.

◆ fileXioDopen()

int fileXioDopen ( const char * name)
extern

Definition at line 778 of file fileXio_rpc.c.

◆ fileXioDread()

int fileXioDread ( int fd,
iox_dirent_t * dirent )
extern

Definition at line 826 of file fileXio_rpc.c.

◆ fileXioExit()

void fileXioExit ( void )
extern

Definition at line 108 of file fileXio_rpc.c.

◆ fileXioFormat()

int fileXioFormat ( const char * dev,
const char * blockdev,
const void * args,
int arglen )
extern

Definition at line 722 of file fileXio_rpc.c.

◆ fileXioGetDeviceList()

int fileXioGetDeviceList ( struct fileXioDevice deviceEntry[],
unsigned int req_entries )
extern

Definition at line 139 of file fileXio_rpc.c.

◆ fileXioGetdir()

int fileXioGetdir ( const char * pathname,
struct fileXioDirEntry DirEntry[],
unsigned int req_entries )
extern

Definition at line 166 of file fileXio_rpc.c.

◆ fileXioGetStat()

int fileXioGetStat ( const char * name,
iox_stat_t * stat )
extern

Definition at line 693 of file fileXio_rpc.c.

◆ fileXioInit()

int fileXioInit ( void )
extern

Definition at line 62 of file fileXio_rpc.c.

◆ fileXioIoctl()

int fileXioIoctl ( int fd,
int cmd,
void * arg )
extern

Definition at line 905 of file fileXio_rpc.c.

◆ fileXioIoctl2()

int fileXioIoctl2 ( int fd,
int command,
void * arg,
unsigned int arglen,
void * buf,
unsigned int buflen )
extern

Definition at line 932 of file fileXio_rpc.c.

◆ fileXioLseek()

int fileXioLseek ( int fd,
int offset,
int whence )
extern

Definition at line 599 of file fileXio_rpc.c.

◆ fileXioLseek64()

s64 fileXioLseek64 ( int fd,
s64 offset,
int whence )
extern

Definition at line 629 of file fileXio_rpc.c.

◆ fileXioMkdir()

int fileXioMkdir ( const char * pathname,
int mode )
extern

Definition at line 277 of file fileXio_rpc.c.

◆ fileXioMount()

int fileXioMount ( const char * mountpoint,
const char * blockdev,
int flag )
extern

Definition at line 198 of file fileXio_rpc.c.

◆ fileXioOpen()

int fileXioOpen ( const char * source,
int flags,
... )
extern

Definition at line 460 of file fileXio_rpc.c.

◆ fileXioRead()

int fileXioRead ( int fd,
void * buf,
int size )
extern

Definition at line 526 of file fileXio_rpc.c.

◆ fileXioReadlink()

int fileXioReadlink ( const char * source,
char * buf,
unsigned int buflen )
extern

Definition at line 405 of file fileXio_rpc.c.

◆ fileXioRemove()

int fileXioRemove ( const char * pathname)
extern

Definition at line 328 of file fileXio_rpc.c.

◆ fileXioRename()

int fileXioRename ( const char * source,
const char * dest )
extern

Definition at line 353 of file fileXio_rpc.c.

◆ fileXioRmdir()

int fileXioRmdir ( const char * pathname)
extern

Definition at line 303 of file fileXio_rpc.c.

◆ fileXioSetBlockMode()

void fileXioSetBlockMode ( int blocking)
extern

Definition at line 1009 of file fileXio_rpc.c.

◆ fileXioSetRWBufferSize()

int fileXioSetRWBufferSize ( int size)
extern

Definition at line 1014 of file fileXio_rpc.c.

◆ fileXioStop()

void fileXioStop ( )
extern

Definition at line 129 of file fileXio_rpc.c.

◆ fileXioSymlink()

int fileXioSymlink ( const char * source,
const char * dest )
extern

Definition at line 379 of file fileXio_rpc.c.

◆ fileXioSync()

int fileXioSync ( const char * devname,
int flag )
extern

Definition at line 752 of file fileXio_rpc.c.

◆ fileXioUmount()

int fileXioUmount ( const char * mountpoint)
extern

Definition at line 225 of file fileXio_rpc.c.

◆ fileXioWaitAsync()

int fileXioWaitAsync ( int mode,
int * retVal )
extern

Definition at line 973 of file fileXio_rpc.c.

◆ fileXioWrite()

int fileXioWrite ( int fd,
const void * buf,
int size )
extern

Definition at line 557 of file fileXio_rpc.c.