|
sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
|
#include <ps2sdkapi.h>#include <string.h>#include <stdio.h>#include <errno.h>#include <stdlib.h>#include <fileio.h>#include "iox_stat.h"Go to the source code of this file.
Classes | |
| struct | _fio_file_info_ |
Macros | |
| #define | NEWLIB_PORT_AWARE |
| #define | IOP_O_RDONLY 0x0001 |
| #define | IOP_O_WRONLY 0x0002 |
| #define | IOP_O_RDWR 0x0003 |
| #define | IOP_O_DIROPEN 0x0008 |
| #define | IOP_O_NBLOCK 0x0010 |
| #define | IOP_O_APPEND 0x0100 |
| #define | IOP_O_CREAT 0x0200 |
| #define | IOP_O_TRUNC 0x0400 |
| #define | IOP_O_EXCL 0x0800 |
| #define | IOP_O_NOWAIT 0x8000 |
| #define | __MAXNAMLEN 256 |
Typedefs | |
| typedef struct _fio_file_info_ | _fio_file_info_t |
Functions | |
| void | __fioOpsInitializeImpl (void) |
| __attribute__ ((constructor)) | |
| 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 | __libcglue_init_stdio (_libcglue_fdman_fd_info_t *info, int fd) |
| int | __fioMkdirHelper (const char *path, int mode) |
| int | __fioGetstatHelper (const char *path, struct stat *buf) |
| int | __attribute__ ((weak)) |
| _libcglue_fdman_path_ops_t * | _ps2sdk_get_default_fdman_path_ops (void) |
| int | libcglue_ps2ip_setconfig (const t_ip_info *ip_info) |
| int | libcglue_ps2ip_getconfig (char *netif_name, t_ip_info *ip_info) |
| void | libcglue_dns_setserver (u8 numdns, const ip_addr_t *dnsserver) |
| const ip_addr_t * | libcglue_dns_getserver (u8 numdns) |
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 |
| _libcglue_fdman_path_ops_t * | _libcglue_fdman_path_ops = NULL |
| _libcglue_fdman_socket_ops_t * | _libcglue_fdman_socket_ops = NULL |
| _libcglue_fdman_inet_ops_t * | _libcglue_fdman_inet_ops = NULL |
fdman.c - Manager for fd.
Definition in file ps2sdkapi.c.
| #define IOP_O_APPEND 0x0100 |
Definition at line 52 of file ps2sdkapi.c.
| #define IOP_O_CREAT 0x0200 |
Definition at line 53 of file ps2sdkapi.c.
| #define IOP_O_DIROPEN 0x0008 |
Definition at line 50 of file ps2sdkapi.c.
| #define IOP_O_EXCL 0x0800 |
Definition at line 55 of file ps2sdkapi.c.
| #define IOP_O_NBLOCK 0x0010 |
Definition at line 51 of file ps2sdkapi.c.
| #define IOP_O_NOWAIT 0x8000 |
Definition at line 56 of file ps2sdkapi.c.
| #define IOP_O_RDONLY 0x0001 |
Definition at line 47 of file ps2sdkapi.c.
| #define IOP_O_RDWR 0x0003 |
Definition at line 49 of file ps2sdkapi.c.
| #define IOP_O_TRUNC 0x0400 |
Definition at line 54 of file ps2sdkapi.c.
| #define IOP_O_WRONLY 0x0002 |
Definition at line 48 of file ps2sdkapi.c.
| #define NEWLIB_PORT_AWARE |
Definition at line 23 of file ps2sdkapi.c.
| __attribute__ | ( | (constructor) | ) |
Definition at line 41 of file ps2sdkapi.c.
| int __attribute__ | ( | (weak) | ) |
Definition at line 391 of file ps2sdkapi.c.
| int __fioCloseHelper | ( | void * | userdata | ) |
Definition at line 126 of file ps2sdkapi.c.
| int __fioDcloseHelper | ( | void * | userdata | ) |
Definition at line 142 of file ps2sdkapi.c.
| int __fioDreadHelper | ( | void * | userdata, |
| struct dirent * | dir ) |
Definition at line 218 of file ps2sdkapi.c.
| int __fioGetFdHelper | ( | void * | userdata | ) |
Definition at line 100 of file ps2sdkapi.c.
| char * __fioGetFilenameHelper | ( | void * | userdata | ) |
Definition at line 113 of file ps2sdkapi.c.
| int __fioGetstatHelper | ( | const char * | path, |
| struct stat * | buf ) |
Definition at line 369 of file ps2sdkapi.c.
| int __fioIoctlHelper | ( | void * | userdata, |
| int | request, | ||
| void * | data ) |
Definition at line 203 of file ps2sdkapi.c.
| int __fioLseekDirHelper | ( | void * | userdata, |
| int | offset, | ||
| int | whence ) |
Definition at line 255 of file ps2sdkapi.c.
| int __fioLseekHelper | ( | void * | userdata, |
| int | offset, | ||
| int | whence ) |
Definition at line 173 of file ps2sdkapi.c.
| int __fioMkdirHelper | ( | const char * | path, |
| int | mode ) |
Inter-library helpers, default value
Definition at line 321 of file ps2sdkapi.c.
| int __fioOpenHelper | ( | _libcglue_fdman_fd_info_t * | info, |
| const char * | buf, | ||
| int | flags, | ||
| mode_t | mode ) |
Definition at line 58 of file ps2sdkapi.c.
| int __fioReadHelper | ( | void * | userdata, |
| void * | buf, | ||
| int | nbytes ) |
Definition at line 158 of file ps2sdkapi.c.
| int __fioWriteHelper | ( | void * | userdata, |
| const void * | buf, | ||
| int | nbytes ) |
Definition at line 188 of file ps2sdkapi.c.
| int __libcglue_init_stdio | ( | _libcglue_fdman_fd_info_t * | info, |
| int | fd ) |
Definition at line 299 of file ps2sdkapi.c.
| const ip_addr_t * libcglue_dns_getserver | ( | u8 | numdns | ) |
Definition at line 504 of file ps2sdkapi.c.
| void libcglue_dns_setserver | ( | u8 | numdns, |
| const ip_addr_t * | dnsserver ) |
Definition at line 495 of file ps2sdkapi.c.
| int libcglue_ps2ip_getconfig | ( | char * | netif_name, |
| t_ip_info * | ip_info ) |
Definition at line 485 of file ps2sdkapi.c.
| int libcglue_ps2ip_setconfig | ( | const t_ip_info * | ip_info | ) |
Definition at line 475 of file ps2sdkapi.c.
| _libcglue_fdman_fd_ops_t __fio_fdman_ops_dir |
Definition at line 37 of file ps2sdkapi.c.
| _libcglue_fdman_fd_ops_t __fio_fdman_ops_file |
Definition at line 36 of file ps2sdkapi.c.
| _libcglue_fdman_path_ops_t __fio_fdman_path_ops |
Definition at line 35 of file ps2sdkapi.c.
| _libcglue_fdman_inet_ops_t* _libcglue_fdman_inet_ops = NULL |
Definition at line 513 of file ps2sdkapi.c.
| _libcglue_fdman_path_ops_t* _libcglue_fdman_path_ops = NULL |
Definition at line 450 of file ps2sdkapi.c.
| _libcglue_fdman_socket_ops_t* _libcglue_fdman_socket_ops = NULL |
Definition at line 458 of file ps2sdkapi.c.