Bitcoin ABC
0.32.4
P2P Digital Currency
src
common
system.h
Go to the documentation of this file.
1
// Copyright (c) 2009-2010 Satoshi Nakamoto
2
// Copyright (c) 2009-present The Bitcoin Core developers
3
// Distributed under the MIT software license, see the accompanying
4
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
6
#ifndef BITCOIN_COMMON_SYSTEM_H
7
#define BITCOIN_COMMON_SYSTEM_H
8
9
#if defined(HAVE_CONFIG_H)
10
#include <config/bitcoin-config.h>
11
#endif
12
13
#include <cstdint>
14
#include <string>
15
16
// Application startup time (used for uptime calculation)
17
int64_t
GetStartupTime
();
18
19
void
SetupEnvironment
();
20
bool
SetupNetworking
();
21
#ifndef WIN32
22
std::string
ShellEscape
(
const
std::string &arg);
23
#endif
24
#if defined(HAVE_SYSTEM)
25
void
runCommand(
const
std::string &strCommand);
26
#endif
27
33
int
GetNumCores
();
34
35
#endif
// BITCOIN_COMMON_SYSTEM_H
GetStartupTime
int64_t GetStartupTime()
Definition:
system.cpp:117
SetupNetworking
bool SetupNetworking()
Definition:
system.cpp:99
SetupEnvironment
void SetupEnvironment()
Definition:
system.cpp:71
GetNumCores
int GetNumCores()
Return the number of cores available on the current system.
Definition:
system.cpp:112
ShellEscape
std::string ShellEscape(const std::string &arg)
Definition:
system.cpp:44
Generated on Thu Dec 4 2025 17:00:31 for Bitcoin ABC by
1.9.4