Class Fd

Class Documentation

class Fd

Public Functions

explicit Fd(int fd)
explicit Fd(IntOwnedFd)
Fd()
Fd(Fd&&)
Fd(Fd const&) = default
Fd &operator=(Fd)
operator int() const

Public Static Attributes

static int const invalid = {-1}

Friends

friend auto close(Fd const &fd) -> int = delete

Prevent accidental calling of ::close()