Go to the source code of this file.
|
| char * | fs_get_content (char const *path) |
| | get the entire content of file path (if readable)
|
| |
| int | fs_get_size (char const *path) |
| | get size of the content of filepath (if stat can)
|
| |
| int | fs_open_ronly (char const *path) |
| | open file path with read only
|
| |
◆ fs_get_content()
| char * fs_get_content |
( |
char const * |
path | ) |
|
get the entire content of file path (if readable)
- Parameters
-
- Returns
- null if path is not readable; otherwise the content
◆ fs_get_size()
| int fs_get_size |
( |
char const * |
path | ) |
|
get size of the content of filepath (if stat can)
- Parameters
-
- Returns
- -1 if stat cant get size; the size else
◆ fs_open_ronly()
| int fs_open_ronly |
( |
char const * |
path | ) |
|
open file path with read only
- Parameters
-
- Returns
- -1 if cant open; the file descriptor else