diff options
| author | Casey Dahlin <sadmac@google.com> | 2015-11-12 14:52:13 -0800 |
|---|---|---|
| committer | Casey Dahlin <sadmac@google.com> | 2015-11-18 12:01:24 -0800 |
| commit | 918b9e8dc6dfd7fcbb17a9ac6c4c96fd1bbf78f1 (patch) | |
| tree | a6c29f32b9f864ee82c83caf94192ab970094ce0 /base/errors_unix.cpp | |
| parent | 1337349ea11a6bb5c44ba5c5bb064c750bd626c5 (diff) | |
Introduce unique_fd
unique_fds are wrappers for integer file descriptors that automatically
close when they go out of scope. They are movable but not copyable and
generally mimic the semantics of std::unique_ptr
Change-Id: I0657b848b6536d5ad9fc06686e240ea5c387b0ac
Test: Considerable exercise in new AIDL integration tests
Bug: None
Signed-off-by: Casey Dahlin <sadmac@google.com>
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
