ALib C++ Framework
by
Library Version: 2605 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
system.mod.cpp
1//##################################################################################################
2// ALib C++ Framework
3//
4// Copyright 2013-2026 A-Worx GmbH, Germany
5// Published under 'Boost Software License' (a free software license, see LICENSE.txt)
6//##################################################################################################
7//========================================= Global Fragment ========================================
8module;
11
12#if !DOXYGEN
13# include <cstdlib>
14# if defined (__GLIBCXX__) || defined(_LIBCPP_VERSION) || defined(__APPLE__) || defined(__ANDROID_NDK__)
15# include <unistd.h>
16# elif defined( _WIN32 )
17# include <direct.h>
18# else
19# pragma message ("Unknown Platform in file: " __FILE__ )
20# endif
21# if defined(__GLIBCXX__) || defined(_LIBCPP_VERSION) || defined(__ANDROID_NDK__)
22# include <sys/ioctl.h>
23# elif defined(__APPLE__)
24# include <sys/sysctl.h>
25# endif
26# if defined(__APPLE__)
27# include <libproc.h>
28# endif
29# include <fstream>
30#endif // !DOXYGEN
31
32//============================================= Imports ============================================
33module ALib.System;
34 import ALib.Lang;
35 import ALib.Threads;
36 import ALib.Strings;
38#if ALIB_MONOMEM
39 import ALib.Monomem;
40#endif
41//========================================== Implementation ========================================
43#include "console.cpp"
44#include "environment.cpp"
45#include "processinfo.cpp"
46#include "shellcommand.cpp"
#define ALIB_ALLOW_IMPLEMENTATION_INCLUSION
#define ALIB_POP_ALLOWANCE