llarp::util::FD

RAII wrapper for auto-closing a file descriptor.

#include <fd.hpp>

Public Functions

Name
FD(int fd)
FD(const FD & ) =delete
FD(FD && ) =delete
~FD()
operator int() const
int fd() const

Public Functions Documentation

function FD

explicit FD(
    int fd
)

function FD

FD(
    const FD & 
) =delete

function FD

FD(
    FD && 
) =delete

function ~FD

~FD()

function operator int

inline explicit operator int() const

function fd

inline int fd() const

Updated on 2026-01-10 at 22:49:45 +0000