commit | 918b9e8dc6dfd7fcbb17a9ac6c4c96fd1bbf78f1 | [log] [tgz] |
---|---|---|
author | Casey Dahlin <sadmac@google.com> | Thu Nov 12 14:52:13 2015 -0800 |
committer | Casey Dahlin <sadmac@google.com> | Wed Nov 18 12:01:24 2015 -0800 |
tree | a6c29f32b9f864ee82c83caf94192ab970094ce0 | |
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>