icedb  version 0.5.1
Snow particle scattering database API
os_functions.hpp
Go to the documentation of this file.
1 #pragma once
2 #ifndef ICEDB_HPP_OS_FUNCTIONS
3 #define ICEDB_HPP_OS_FUNCTIONS
4 #include "../defs.h"
5 #include <iostream>
6 
8 
9 namespace icedb {
10  namespace os_functions {
11 
13  DL_ICEDB bool pidExists(int pid);
15  DL_ICEDB int getPID();
17  DL_ICEDB int getPPID(int pid);
19  DL_ICEDB void libEntry(int argc, char** argv);
21  DL_ICEDB void waitOnExit(bool val);
23  DL_ICEDB bool waitOnExit();
25  DL_ICEDB const char* getUserName();
27  DL_ICEDB const char* getHostName();
29  DL_ICEDB const char* getAppConfigDir();
31  DL_ICEDB const char* getHomeDir();
32  DL_ICEDB const char* getLibDir();
33  DL_ICEDB const char* getLibPath();
34  DL_ICEDB const char* getAppDir();
35  DL_ICEDB const char* getAppPath();
36  DL_ICEDB const char* getPluginDir();
37  DL_ICEDB const char* getCWD();
38  }
39 }
41 
42 #endif
const char * getHomeDir()
int getPPID(int pid)
const char * getUserName()
#define DL_ICEDB
Definition: defs.h:124
const char * getAppConfigDir()
#define ICEDB_END_DECL_CPP
Definition: defs.h:31
bool pidExists(int pid)
const char * getPluginDir()
#define ICEDB_BEGIN_DECL_CPP
Definition: defs.h:30
const char * getLibDir()
const char * getAppPath()
const char * getHostName()
const char * getAppDir()
const char * getLibPath()
void waitOnExit(bool val)
const char * getCWD()
void libEntry(int argc, char **argv)