DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
sifdev.h
1#pragma once
2
3#define SCE_RDONLY 0x0001
4#define SCE_WRONLY 0x0002
5#define SCE_CREAT 0x0200
6#define SCE_TRUNC 0x0400
7
8#define SCE_SEEK_SET 0
9#define SCE_SEEK_CUR 1
10#define SCE_SEEK_END 2
11
12extern "C" {
13void sceFsReset(void);
14int sceOpen(const char *name, int flags, ...);
15int sceClose(int fd);
16int sceLseek(int fd, int offset, int whence);
17int sceRead(int fd, void *buffer, int size);
18int sceWrite(int fd, void *buffer, int size);
19}