llvm/libc/src/__support/File/file.cpp

//===--- Implementation of a platform independent file data structure -----===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#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" // For error macros

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) {}

} // namespace LIBC_NAMESPACE_DECL