Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ ClearLastSystemError
Function
ClearLastSystemError
util/system/error.cpp:15–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
13
#endif
14
15
void ClearLastSystemError() {
16
#if defined(_win_)
17
SetLastError(0);
18
#else
19
errno = 0;
20
#endif
21
}
22
23
int LastSystemError() {
24
#if defined(_win_)
Callers
3
Y_UNIT_TEST
Function · 0.85
Flock
Function · 0.85
yfts_read
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected