aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.h
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2018-01-26 13:07:29 +0100
committerMarkus Metzger <markus.t.metzger@intel.com>2018-02-09 14:03:18 +0100
commitea4a0888120dec61348cae460ffa08de663e2852 (patch)
tree10e0954504a3fa4e99dce1a4af3766515a4126dd /ld/ldmain.h
parent869e8290ea62f594d2472476303bb74604e9326b (diff)
downloadgdb-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 'ld/ldmain.h')
0 files changed, 0 insertions, 0 deletions