Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
fml::internal::os_unix::UniqueFDTraits Struct Reference

#include <unique_fd.h>

Static Public Member Functions

static int InvalidValue ()
 
static bool IsValid (int value)
 
static void Free (int fd)
 

Detailed Description

Definition at line 76 of file unique_fd.h.

Member Function Documentation

◆ Free()

void fml::internal::os_unix::UniqueFDTraits::Free ( int  fd)
static

Definition at line 29 of file unique_fd.cc.

29 {
30 close(fd);
31}

◆ InvalidValue()

static int fml::internal::os_unix::UniqueFDTraits::InvalidValue ( )
inlinestatic

Definition at line 77 of file unique_fd.h.

77{ return -1; }

◆ IsValid()

static bool fml::internal::os_unix::UniqueFDTraits::IsValid ( int  value)
inlinestatic

Definition at line 78 of file unique_fd.h.

78{ return value >= 0; }
uint8_t value

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