#include "file.h"
#include "hdr/stdio_macros.h"
#include "hdr/types/off_t.h"
#include "src/__support/CPP/new.h"
#include "src/__support/CPP/span.h"
#include "src/__support/macros/config.h"
#include "src/errno/libc_errno.h"
namespace LIBC_NAMESPACE_DECL {
FileIOResult File::write_unlocked(const void *data, size_t len) { … }
FileIOResult File::write_unlocked_nbf(const uint8_t *data, size_t len) { … }
FileIOResult File::write_unlocked_fbf(const uint8_t *data, size_t len) { … }
FileIOResult File::write_unlocked_lbf(const uint8_t *data, size_t len) { … }
FileIOResult File::read_unlocked(void *data, size_t len) { … }
int File::ungetc_unlocked(int c) { … }
ErrorOr<int> File::seek(off_t offset, int whence) { … }
ErrorOr<off_t> File::tell() { … }
int File::flush_unlocked() { … }
int File::set_buffer(void *buffer, size_t size, int buffer_mode) { … }
File::ModeFlags File::mode_flags(const char *mode) { … }
}