blob: 094ace11a02065f605b9769dbbf6e6e75ab428bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#include "libplatform/impl.h"
namespace mp4v2 { namespace platform { namespace sys {
///////////////////////////////////////////////////////////////////////////////
const char*
getErrorStr( int errno_ )
{
return std::strerror( errno_ );
}
///////////////////////////////////////////////////////////////////////////////
int
getLastError()
{
return errno;
}
///////////////////////////////////////////////////////////////////////////////
const char*
getLastErrorStr()
{
return strerror( errno );
}
///////////////////////////////////////////////////////////////////////////////
}}} // namespace mp4v2::platform::sys
|