ReactOS 0.4.16-dev-1138-g6efbed5
anonymous_namespace{stat.cpp}::file_handle_traits Struct Reference

Public Types

typedef int type
 

Static Public Member Functions

static bool close (_In_ type const fh) throw ()
 
static type get_invalid_value () throw ()
 

Detailed Description

Definition at line 29 of file stat.cpp.

Member Typedef Documentation

◆ type

typedef int anonymous_namespace{stat.cpp}::file_handle_traits::type

Definition at line 31 of file stat.cpp.

Member Function Documentation

◆ close()

static bool anonymous_namespace{stat.cpp}::file_handle_traits::close ( _In_ type const  fh)
throw (
)
inlinestatic

Definition at line 33 of file stat.cpp.

34 {
35 _close(fh);
36 return true;
37 }
_Check_return_opt_ _CRTIMP int __cdecl _close(_In_ int _FileHandle)

◆ get_invalid_value()

static type anonymous_namespace{stat.cpp}::file_handle_traits::get_invalid_value ( )
throw (
)
inlinestatic

Definition at line 39 of file stat.cpp.

40 {
41 return -1;
42 }

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