Android-cuttlefish cvd tool
Classes | Functions | Variables
cuttlefish::anonymous_namespace{fd.cc} Namespace Reference

Classes

class  LocalErrno
 

Functions

Result< int > MemfdCreateWrapper (const std::string &name, unsigned int flags)
 
bool IsRegularFile (const int fd)
 
static void MakeAddress (const char *name, bool abstract, struct sockaddr_un *dest, socklen_t *len)
 

Variables

constexpr size_t kPreferredBufferSize = 8192
 

Function Documentation

◆ IsRegularFile()

bool cuttlefish::anonymous_namespace{fd.cc}::IsRegularFile ( const int  fd)

◆ MakeAddress()

static void cuttlefish::anonymous_namespace{fd.cc}::MakeAddress ( const char *  name,
bool  abstract,
struct sockaddr_un *  dest,
socklen_t *  len 
)
static

◆ MemfdCreateWrapper()

Result< int > cuttlefish::anonymous_namespace{fd.cc}::MemfdCreateWrapper ( const std::string &  name,
unsigned int  flags 
)

Variable Documentation

◆ kPreferredBufferSize

constexpr size_t cuttlefish::anonymous_namespace{fd.cc}::kPreferredBufferSize = 8192
constexpr