libwwcl libwwcl
WWitch compatibility layer for the Wonderful toolchain
Loading...
Searching...
No Matches
filesys.h
Go to the documentation of this file.
1#include <sys/types.h>
2
3#ifndef __LIBWW_SYS_FILESYS_H__
4#define __LIBWW_SYS_FILESYS_H__
5
6/* Begin auto-generated section */
7
8#define MAXFNAME 16
9#define MAXPATHLEN 64
10#define MAXFINFO 24
11
12#define FMODE_X 0x01
13#define FMODE_W 0x02
14#define FMODE_R 0x04
15#define FMODE_MMAP 0x08
16#define FMODE_STREAM 0x10
17#define FMODE_ILIB 0x20
18#define FMODE_LINK 0x40
19#define FMODE_DIR 0x80
20
21#define E_FS_SUCCESS 0
22#define E_FS_ERROR 0x8000
23#define E_FS_FILE_NOT_FOUND 0x8001
24#define E_FS_PERMISSION_DENIED 0x8002
25#define E_FS_OUT_OF_BOUNDS 0x8003
26#define E_FS_NO_SPACE_LEFT 0x8004
27#define E_FS_FILE_NOT_OPEN 0x8005
28/* End auto-generated section */
29
30
31#endif /* __LIBWW_SYS_FILESYS_H__ */