/
githubmirror
/
bitcoin
Обзор
Документация
Войти
/
githubmirror
/
bitcoin
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/util/syserror.h
20 строк
603 B
MarcoFalke
scripted-diff: [doc] Unify stale copyright headers
17 дек 2025, 00:21
17 дек 2025, 00:21
fa5f297
Код
Авторство
О чём код?
// Copyright (c) 2010-present The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_UTIL_SYSERROR_H #define BITCOIN_UTIL_SYSERROR_H #include <string> /** Return system error string from errno value. Use this instead of * std::strerror, which is not thread-safe. For network errors use * NetworkErrorString from sock.h instead. */ std::string SysErrorString(int err); #if defined(WIN32) std::string Win32ErrorString(int err); #endif #endif // BITCOIN_UTIL_SYSERROR_H