17#ifndef TOOLBOX_IO_FILE_HPP
18#define TOOLBOX_IO_FILE_HPP
80inline int remove(
const char* path, std::error_code&
ec)
noexcept
90inline std::pair<FileHandle, FileHandle>
pipe2(
int flags, std::error_code&
ec)
noexcept
168 return read(fd,
static_cast<void*
>(
buf.data()), buffer_size(
buf),
ec);
174 return read(fd,
static_cast<void*
>(
buf.data()), buffer_size(
buf));
200 return write(fd,
static_cast<const void*
>(
buf.data()), buffer_size(
buf),
ec);
206 return write(fd,
static_cast<const void*
>(
buf.data()), buffer_size(
buf));
210inline int fcntl(
int fd,
int cmd, std::error_code&
ec)
noexcept
220template <
typename ArgT>
241template <
typename ArgT>