diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2018-01-26 13:07:29 +0100 |
---|---|---|
committer | Markus Metzger <markus.t.metzger@intel.com> | 2018-02-09 14:03:18 +0100 |
commit | ea4a0888120dec61348cae460ffa08de663e2852 (patch) | |
tree | 10e0954504a3fa4e99dce1a4af3766515a4126dd /libiberty/configure.ac | |
parent | 869e8290ea62f594d2472476303bb74604e9326b (diff) | |
download | gdb-ea4a0888120dec61348cae460ffa08de663e2852.zip gdb-ea4a0888120dec61348cae460ffa08de663e2852.tar.gz gdb-ea4a0888120dec61348cae460ffa08de663e2852.tar.bz2 |
common: add scoped_fd
Add a simple helper to automatically close a file descriptor.
gdb/
* common/scoped_fd.h: New.
* unittests/scoped_fd-selftest.c: New.
* Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
unittests/scoped_fd-selftest.c.
Diffstat (limited to 'libiberty/configure.ac')
0 files changed, 0 insertions, 0 deletions