This class wraps the platform specific file handle/descriptor type to provide an unified representation.
More...
#include "llvm/Support/File.h"
This class wraps the platform specific file handle/descriptor type to provide an unified representation.
Definition at line 21 of file File.h.
◆ value_type
A file descriptor on UNIX.
Definition at line 29 of file File.h.
◆ file_t() [1/2]
| llvm::sys::fs::file_t::file_t |
( |
| ) |
|
|
inline |
Default constructor to invalid file.
Definition at line 36 of file File.h.
◆ file_t() [2/2]
Implicit constructor from underlying value.
Definition at line 40 of file File.h.
◆ get()
Get the underlying value and return a platform specific value.
Definition at line 46 of file File.h.
◆ isValid()
| bool llvm::sys::fs::file_t::isValid |
( |
| ) |
const |
|
inline |
Is a valid file.
Definition at line 43 of file File.h.
◆ Invalid
Value for an invalid file descriptor.
Definition at line 31 of file File.h.
◆ Value
The documentation for this struct was generated from the following file: