blob: b4092c71da314ceef8499dbf663a7d59f736aaca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef FILESYSTEM_H
#define FILESYSTEM_H
#include <stdbool.h>
#include <stdio.h>
FILE *FileOpen(const char *path, const bool write);
bool FileClose(FILE *file);
bool FileRead(FILE *file, void *dst, const size_t size);
bool FileWrite(FILE *file, const void *src, const size_t size);
bool FileSeek(FILE *file, const size_t offset);
size_t FileSize(const char *path);
const char *PathRelativeToBase(const char *full, const char *base);
#endif
|