Flutter Engine
fml::internal::os_unix::UniqueDirTraits Struct Reference

#include <unique_fd.h>

Static Public Member Functions

static DIR * InvalidValue ()
 
static bool IsValid (DIR *value)
 
static void Free (DIR *dir)
 

Detailed Description

Definition at line 43 of file unique_fd.h.

Member Function Documentation

◆ Free()

void fml::internal::os_unix::UniqueDirTraits::Free ( DIR *  dir)
static

Definition at line 30 of file unique_fd.cc.

30  {
31  closedir(dir);
32 }

◆ InvalidValue()

static DIR* fml::internal::os_unix::UniqueDirTraits::InvalidValue ( )
inlinestatic

Definition at line 44 of file unique_fd.h.

44 { return nullptr; }

◆ IsValid()

static bool fml::internal::os_unix::UniqueDirTraits::IsValid ( DIR *  value)
inlinestatic

Definition at line 45 of file unique_fd.h.

45 { return value != nullptr; }
uint8_t value

The documentation for this struct was generated from the following files: