]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: file: introduce VIR_AUTOCLOSE macro to close fd of the file automatically
authorShi Lei <shi_lei@massclouds.com>
Wed, 12 Sep 2018 09:46:34 +0000 (17:46 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 12 Sep 2018 15:35:38 +0000 (17:35 +0200)
commit09d35afd2c3058688290d5d818343d0f6aa2dd6e
tree0c0c4fb321a0c0fe575b997c13bd37945efdacfc
parent7ea7342996d74591e00bcbf14b1eb3995f77a199
util: file: introduce VIR_AUTOCLOSE macro to close fd of the file automatically

Signed-off-by: Shi Lei <shi_lei@massclouds.com>
src/util/virfile.h