MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / fileno

Method fileno

extlibs/fmt/src/os.cc:172–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170#define FMT_ARGS
171
172int buffered_file::fileno() const {
173 int fd = FMT_POSIX_CALL(fileno FMT_ARGS(file_));
174 if (fd == -1) FMT_THROW(system_error(errno, "cannot get file descriptor"));
175 return fd;
176}
177
178#if FMT_USE_FCNTL
179file::file(cstring_view path, int oflag) {

Callers

nothing calls this directly

Calls 1

system_errorFunction · 0.85

Tested by

no test coverage detected