#include <stddef.h>
#include <stdio.h>
Go to the source code of this file.
|
namespace | vae |
| Contains Typedefinitions and basic structures use by the public API and internally.
|
|
namespace | vae::core |
|
namespace | vae::core::fs |
|
◆ vae_file_close()
size_t vae_file_close |
( |
void * |
file | ) |
|
Definition at line 34 of file vae_fs.hpp.
35 return fclose((FILE*) file);
◆ vae_file_open()
void * vae_file_open |
( |
const char * |
path, |
|
|
const char * |
mode |
|
) |
| |
Definition at line 21 of file vae_fs.hpp.
22 return fopen(path, mode);
◆ vae_file_read()
size_t vae_file_read |
( |
char * |
dest, |
|
|
size_t |
size, |
|
|
int |
, |
|
|
void * |
file |
|
) |
| |
Definition at line 30 of file vae_fs.hpp.
31 return fread(dest, size, 1, (FILE*) file);
◆ vae_file_seek()
size_t vae_file_seek |
( |
void * |
file, |
|
|
size_t |
offset, |
|
|
int |
seek |
|
) |
| |
Seek and return current position.
- Parameters
-
- Returns
- size_t
Definition at line 25 of file vae_fs.hpp.
26 fseek((FILE*) file, offset, seek);
27 return ftell((FILE*) file);