8#ifndef INCLUDED_BDLS_FILEDESCRIPTORGUARD
9#define INCLUDED_BDLS_FILEDESCRIPTORGUARD
127#include <bdlscm_version.h>
177 FilesystemUtil::FileDescriptor
release();
184 FilesystemUtil::FileDescriptor
descriptor()
const;
193FileDescriptorGuard::FileDescriptorGuard(
194 FilesystemUtil::FileDescriptor descriptor)
195: d_descriptor(descriptor)
#define BSLS_ASSERT(X)
Definition bsls_assert.h:1804
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition bdls_fdstreambuf.h:412
Definition bdls_filedescriptorguard.h:142
FilesystemUtil::FileDescriptor release()
Definition bdls_filedescriptorguard.h:209
FilesystemUtil::FileDescriptor d_descriptor
Definition bdls_filedescriptorguard.h:145
~FileDescriptorGuard()
If this guard object manages a file, close that file.
Definition bdls_filedescriptorguard.h:200
FilesystemUtil::FileDescriptor descriptor() const
Definition bdls_filedescriptorguard.h:221
static const FileDescriptor k_INVALID_FD
Definition bdls_filesystemutil.h:482