diff options
author | babenko <babenko@yandex-team.com> | 2024-08-02 12:04:49 +0300 |
---|---|---|
committer | babenko <babenko@yandex-team.com> | 2024-08-02 12:18:17 +0300 |
commit | 23b7c61b3876a421a9f239646c2f67c70877d21e (patch) | |
tree | 080f664dac1dc44ce20cebe488942f1066f0d4be /library/cpp/yt/system/exit.cpp | |
parent | 99d0a5c88a19f2a5310c8bfe5ed63ef53e8ce00b (diff) | |
download | ydb-23b7c61b3876a421a9f239646c2f67c70877d21e.tar.gz |
Refactor and unify exit codes
ec1d0c473e709e8aad76b4e190a75ad4125a9ce2
Diffstat (limited to 'library/cpp/yt/system/exit.cpp')
-rw-r--r-- | library/cpp/yt/system/exit.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/library/cpp/yt/system/exit.cpp b/library/cpp/yt/system/exit.cpp new file mode 100644 index 0000000000..b17f6c5ad7 --- /dev/null +++ b/library/cpp/yt/system/exit.cpp @@ -0,0 +1,14 @@ +#include "exit.h" + +namespace NYT { + +//////////////////////////////////////////////////////////////////////////////// + +void AbortProcess(int exitCode) +{ + _exit(exitCode); +} + +//////////////////////////////////////////////////////////////////////////////// + +} // namespace NYT |