Wire Sysio
Wire Sysion 1.0.0
Loading...
Searching...
No Matches
catch_errno_guard.cpp
Go to the documentation of this file.
1
/*
2
* Created by Martin on 06/03/2017.
3
*
4
* Distributed under the Boost Software License, Version 1.0. (See accompanying
5
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6
*/
7
8
#include "
catch_errno_guard.h
"
9
10
#include <cerrno>
11
12
namespace
Catch
{
13
ErrnoGuard::ErrnoGuard
():m_oldErrno(errno){}
14
ErrnoGuard::~ErrnoGuard
() { errno = m_oldErrno; }
15
}
catch_errno_guard.h
Catch::ErrnoGuard::ErrnoGuard
ErrnoGuard()
Definition
catch_errno_guard.cpp:13
Catch::ErrnoGuard::~ErrnoGuard
~ErrnoGuard()
Definition
catch_errno_guard.cpp:14
Catch
Definition
231-Cfg-OutputStreams.cpp:32
libraries
sys-vm
external
Catch2
include
internal
catch_errno_guard.cpp
Generated by
1.12.0