1 #ifndef _SYSTEM_STUB_H_
2 #define _SYSTEM_STUB_H_
6 typedef struct system_stub_ops_t {
7 int (*open)(const char * path, int flags, ...);
8 int (*close)(int file);
9 int (*read)(int file, char * ptr, int len);
10 int (*write)(int file, char * ptr, int len);
11 int (*lseek)(int file, int ptr, int dir);
14 extern system_stub_ops_t system_stub_ops;
16 #endif /* _SYSTEM_DEF_H_ */