errno
over while the object exists.
More...
#include <Iguana/Utilities/classlib/utils/SaveErrno.h>
Public Member Functions | |
SaveErrno (void) | |
Save the current value of errno . | |
~SaveErrno (void) | |
Restore the saved value of errno . | |
Private Attributes | |
int | m_errno |
int | m_winerr |
errno
over while the object exists.
On Windows saves both errno
and GetLastError()
value.
Definition at line 22 of file SaveErrno.h.
lat::SaveErrno::SaveErrno | ( | void | ) | [inline] |
lat::SaveErrno::~SaveErrno | ( | void | ) | [inline] |
int lat::SaveErrno::m_errno [private] |
int lat::SaveErrno::m_winerr [private] |