XBinder  Version 2.9.x
rtxSysInfo.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014-2022 Objective Systems, Inc.
3  *
4  * This software is furnished under a license and may be used and copied
5  * only in accordance with the terms of such license and with the
6  * inclusion of the above copyright notice. This software or any other
7  * copies thereof may not be provided or otherwise made available to any
8  * other person. No title to and ownership of the software is hereby
9  * transferred.
10  *
11  * The information in this software is subject to change without notice
12  * and should not be construed as a commitment by Objective Systems, Inc.
13  *
14  * PROPRIETARY NOTICE
15  *
16  * This software is an unpublished work subject to a confidentiality agreement
17  * and is protected by copyright and trade secret law. Unauthorized copying,
18  * redistribution or other use of this work is prohibited.
19  *
20  * The above notice of copyright on this source code product does not indicate
21  * any actual or intended publication of such source code.
22  *
23  *****************************************************************************/
27 #ifndef _RTXSYSINFO_H_
28 #define _RTXSYSINFO_H_
29 
30 #include "rtxsrc/osSysTypes.h"
31 #include "rtxsrc/rtxExternDefs.h"
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
42 EXTERNRT int rtxGetPID ();
43 
44 #ifndef _WIN32_WCE
45 
53 EXTERNRT char* rtxEnvVarDup (const char* name);
54 
61 EXTERNRT OSBOOL rtxEnvVarIsSet (const char* name);
62 
71 EXTERNRT int rtxEnvVarSet (const char* name, const char* value, int overwrite);
72 #endif
73 
74 #ifdef __cplusplus
75 }
76 #endif
77 
78 #endif
EXTERNRT OSBOOL rtxEnvVarIsSet(const char *name)
This function tests if an environment variable is set.
EXTERNRT int rtxEnvVarSet(const char *name, const char *value, int overwrite)
This function sets an environment variable to the given value.
EXTERNRT int rtxGetPID()
This function return the process ID of the currently running process.
Common definitions of external function modifiers used to define the scope of functions used in DLL's...
EXTERNRT char * rtxEnvVarDup(const char *name)
This function make a duplicate copy of an environment variable.