Guitar
|
#include "rwfile.h"
#include <optional>
#include <vector>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
Macros | |
#define | O_BINARY 0 |
Functions | |
std::optional< std::vector< char > > | readfile (char const *path, int maxsize) |
bool | writefile (char const *path, char const *ptr, size_t len) |
#define O_BINARY 0 |
std::optional<std::vector<char> > readfile | ( | char const * | path, |
int | maxsize | ||
) |
bool writefile | ( | char const * | path, |
char const * | ptr, | ||
size_t | len | ||
) |