|
Flow123d
JB_transport-d4c8564
|
#include <posix.h>
Classes | |
| struct | Proxy |
Public Types | |
| enum | { RDONLY = FMT_POSIX(O_RDONLY), WRONLY = FMT_POSIX(O_WRONLY), RDWR = FMT_POSIX(O_RDWR) } |
Public Member Functions | |
| File () FMT_NOEXCEPT | |
| File (CStringRef path, int oflag) | |
| File (Proxy p) FMT_NOEXCEPT | |
| File (File &other) FMT_NOEXCEPT | |
| File & | operator= (Proxy p) |
| File & | operator= (File &other) |
| operator Proxy () FMT_NOEXCEPT | |
| ~File () FMT_NOEXCEPT | |
| int | descriptor () const FMT_NOEXCEPT |
| void | close () |
| LongLong | size () const |
| std::size_t | read (void *buffer, std::size_t count) |
| std::size_t | write (const void *buffer, std::size_t count) |
| void | dup2 (int fd) |
| void | dup2 (int fd, ErrorCode &ec) FMT_NOEXCEPT |
| BufferedFile | fdopen (const char *mode) |
Static Public Member Functions | |
| static File | dup (int fd) |
| static void | pipe (File &read_end, File &write_end) |
Private Member Functions | |
| File (int fd) | |
Private Attributes | |
| int | fd_ |
| fmt::File::File | ( | fmt::CStringRef | path, |
| int | oflag | ||
| ) |
| void fmt::File::close | ( | ) |
| fmt::BufferedFile fmt::File::fdopen | ( | const char * | mode | ) |
| std::size_t fmt::File::read | ( | void * | buffer, |
| std::size_t | count | ||
| ) |
| fmt::LongLong fmt::File::size | ( | ) | const |
| std::size_t fmt::File::write | ( | const void * | buffer, |
| std::size_t | count | ||
| ) |
1.8.17