| 170 | #define FMT_ARGS |
| 171 | |
| 172 | int 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 |
| 179 | file::file(cstring_view path, int oflag) { |
nothing calls this directly
no test coverage detected