summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCasey Dahlin2015-11-12 16:52:13 -0600
committerBill Yi2016-02-25 19:02:17 -0600
commit97b3e66d3ef598ccf8cad42bbb723273d8d61f7c (patch)
treec90348ac4ce427d12ccc9fa0bd7a739c6d349bf4 /liblog/fake_log_device.c
parentdad8361a0ecc194128ad46676b65a81463d5b1b4 (diff)
downloadplatform-system-core-97b3e66d3ef598ccf8cad42bbb723273d8d61f7c.tar.gz
platform-system-core-97b3e66d3ef598ccf8cad42bbb723273d8d61f7c.tar.xz
platform-system-core-97b3e66d3ef598ccf8cad42bbb723273d8d61f7c.zip
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 (cherry-pick from 918b9e8dc6dfd7fcbb17a9ac6c4c96fd1bbf78f1) Change-Id: I0657b848b6536d5ad9fc06686e240ea5c387b0ac Test: Considerable exercise in new AIDL integration tests Bug: None Signed-off-by: Casey Dahlin <sadmac@google.com>
Diffstat (limited to 'liblog/fake_log_device.c')
0 files changed, 0 insertions, 0 deletions