PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
ps2sdkapi.c File Reference
#include <ps2sdkapi.h>
#include <string.h>
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <fileio.h>
#include "iox_stat.h"
+ Include dependency graph for ps2sdkapi.c:

Go to the source code of this file.

Data Structures

struct  _fio_file_info_
 

Typedefs

typedef struct _fio_file_info_ _fio_file_info_t
 

Functions

int __fioOpenHelper (_libcglue_fdman_fd_info_t *info, const char *buf, int flags, mode_t mode)
 
int __fioGetFdHelper (void *userdata)
 
char * __fioGetFilenameHelper (void *userdata)
 
int __fioCloseHelper (void *userdata)
 
int __fioDcloseHelper (void *userdata)
 
int __fioReadHelper (void *userdata, void *buf, int nbytes)
 
int __fioLseekHelper (void *userdata, int offset, int whence)
 
int __fioWriteHelper (void *userdata, const void *buf, int nbytes)
 
int __fioIoctlHelper (void *userdata, int request, void *data)
 
int __fioDreadHelper (void *userdata, struct dirent *dir)
 
int __fioLseekDirHelper (void *userdata, int offset, int whence)
 
int __fioMkdirHelper (const char *path, int mode)
 
int __fioGetstatHelper (const char *path, struct stat *buf)
 

Variables

_libcglue_fdman_path_ops_t __fio_fdman_path_ops
 
_libcglue_fdman_fd_ops_t __fio_fdman_ops_file
 
_libcglue_fdman_fd_ops_t __fio_fdman_ops_dir
 

Detailed Description

fdman.c - Manager for fd.

Definition in file ps2sdkapi.c.


Data Structure Documentation

◆ _fio_file_info_

struct _fio_file_info_

Definition at line 27 of file ps2sdkapi.c.

Data Fields
int fd
char filename[]

Macro Definition Documentation

◆ NEWLIB_PORT_AWARE

#define NEWLIB_PORT_AWARE

Definition at line 23 of file ps2sdkapi.c.

Function Documentation

◆ __fioMkdirHelper()

int __fioMkdirHelper ( const char *  path,
int  mode 
)

Inter-library helpers, default value