psl1ght
A free SDK for Sony's PS3 console
Loading...
Searching...
No Matches
file.h File Reference

File management functions. More...

#include <ppu-lv2.h>
#include <lv2/sysfs.h>

Go to the source code of this file.

Functions

LV2_SYSCALL sysLv2FsOpen (const char *path, s32 oflags, s32 *fd, u32 mode, const void *arg, u64 argsize)
 
LV2_SYSCALL sysLv2FsClose (s32 fd)
 
LV2_SYSCALL sysLv2FsRead (s32 fd, void *ptr, u64 len, u64 *read)
 
LV2_SYSCALL sysLv2FsWrite (s32 fd, const void *ptr, u64 len, u64 *written)
 
LV2_SYSCALL sysLv2FsStat (const char *path, sysFSStat *stat)
 
LV2_SYSCALL sysLv2FsFStat (s32 fd, sysFSStat *stat)
 
LV2_SYSCALL sysLv2FsChmod (const char *path, s32 mode)
 
LV2_SYSCALL sysLv2FsOpenDir (const char *path, s32 *fd)
 
LV2_SYSCALL sysLv2FsReadDir (s32 fd, sysFSDirent *entry, u64 *read)
 
LV2_SYSCALL sysLv2FsCloseDir (s32 fd)
 
LV2_SYSCALL sysLv2FsMkdir (const char *path, s32 mode)
 
LV2_SYSCALL sysLv2FsRename (const char *path, const char *newpath)
 
LV2_SYSCALL sysLv2FsRmdir (const char *path)
 
LV2_SYSCALL sysLv2FsLSeek64 (s32 fd, u64 offset, s32 dir, u64 *pos)
 
LV2_SYSCALL sysLv2FsUnlink (const char *path)
 
LV2_SYSCALL sysLv2FsFsync (s32 fd)
 
LV2_SYSCALL sysLv2FsTruncate (const char *path, u64 size)
 
LV2_SYSCALL sysLv2FsFtruncate (s32 fd, u64 size)
 
LV2_SYSCALL sysLv2FsUtime (const char *path, const sysFSUtimbuf *times)
 
LV2_SYSCALL sysLv2FsLink (const char *oldpath, const char *newpath)
 

Detailed Description

File management functions.

system paths

Definition in file file.h.

Function Documentation

◆ sysLv2FsChmod()

LV2_SYSCALL sysLv2FsChmod ( const char *  path,
s32  mode 
)

Definition at line 51 of file file.h.

◆ sysLv2FsClose()

LV2_SYSCALL sysLv2FsClose ( s32  fd)

Definition at line 21 of file file.h.

◆ sysLv2FsCloseDir()

LV2_SYSCALL sysLv2FsCloseDir ( s32  fd)

Definition at line 69 of file file.h.

◆ sysLv2FsFStat()

LV2_SYSCALL sysLv2FsFStat ( s32  fd,
sysFSStat *  stat 
)

Definition at line 45 of file file.h.

◆ sysLv2FsFsync()

LV2_SYSCALL sysLv2FsFsync ( s32  fd)

Definition at line 105 of file file.h.

◆ sysLv2FsFtruncate()

LV2_SYSCALL sysLv2FsFtruncate ( s32  fd,
u64  size 
)

Definition at line 117 of file file.h.

◆ sysLv2FsLink()

LV2_SYSCALL sysLv2FsLink ( const char *  oldpath,
const char *  newpath 
)

Definition at line 129 of file file.h.

◆ sysLv2FsLSeek64()

LV2_SYSCALL sysLv2FsLSeek64 ( s32  fd,
u64  offset,
s32  dir,
u64 *  pos 
)

Definition at line 93 of file file.h.

◆ sysLv2FsMkdir()

LV2_SYSCALL sysLv2FsMkdir ( const char *  path,
s32  mode 
)

Definition at line 75 of file file.h.

◆ sysLv2FsOpen()

LV2_SYSCALL sysLv2FsOpen ( const char *  path,
s32  oflags,
s32 *  fd,
u32  mode,
const void *  arg,
u64  argsize 
)

Definition at line 15 of file file.h.

◆ sysLv2FsOpenDir()

LV2_SYSCALL sysLv2FsOpenDir ( const char *  path,
s32 *  fd 
)

Definition at line 57 of file file.h.

◆ sysLv2FsRead()

LV2_SYSCALL sysLv2FsRead ( s32  fd,
void *  ptr,
u64  len,
u64 *  read 
)

Definition at line 27 of file file.h.

◆ sysLv2FsReadDir()

LV2_SYSCALL sysLv2FsReadDir ( s32  fd,
sysFSDirent entry,
u64 *  read 
)

Definition at line 63 of file file.h.

◆ sysLv2FsRename()

LV2_SYSCALL sysLv2FsRename ( const char *  path,
const char *  newpath 
)

Definition at line 81 of file file.h.

◆ sysLv2FsRmdir()

LV2_SYSCALL sysLv2FsRmdir ( const char *  path)

Definition at line 87 of file file.h.

◆ sysLv2FsStat()

LV2_SYSCALL sysLv2FsStat ( const char *  path,
sysFSStat *  stat 
)

Definition at line 39 of file file.h.

◆ sysLv2FsTruncate()

LV2_SYSCALL sysLv2FsTruncate ( const char *  path,
u64  size 
)

Definition at line 111 of file file.h.

◆ sysLv2FsUnlink()

LV2_SYSCALL sysLv2FsUnlink ( const char *  path)

Definition at line 99 of file file.h.

◆ sysLv2FsUtime()

LV2_SYSCALL sysLv2FsUtime ( const char *  path,
const sysFSUtimbuf times 
)

Definition at line 123 of file file.h.

◆ sysLv2FsWrite()

LV2_SYSCALL sysLv2FsWrite ( s32  fd,
const void *  ptr,
u64  len,
u64 *  written 
)

Definition at line 33 of file file.h.