} sem_get_capacity;
struct {
+ const char* storage;
void *ptr;
size_t size;
size_t nmemb;
} file_read;
struct {
+ const char* storage;
const void *ptr;
size_t size;
size_t nmemb;
} file_write;
struct {
+ const char* storage;
const char* path;
const char* mode;
smx_file_t result;
} file_open;
struct {
+ const char* storage;
smx_file_t fp;
int result;
} file_close;
struct {
- int fd;
- //Next should be struct stat* buf
- void* buf;
+ const char* storage;
+ smx_file_t fd;
+ s_file_stat_t buf;
int result;
} file_stat;