DCL 4.0
Loading...
Searching...
No Matches
_stdlib.h
Go to the documentation of this file.
1#ifndef __DCL_STDLIB_H__
2#define __DCL_STDLIB_H__ 20110918
3
4#ifndef __DCL_CONFIG_H__
5#include <dcl/Config.h>
6#endif
7
8#include <stdlib.h>
9
10__DCL_BEGIN_NAMESPACE
11
12class String;
13
17
21#if __DCL_WINDOWS
22DCLCAPI int setenv(const char* _name, const char* _value, int _overwrite);
23DCLCAPI int unsetenv(const char* _name);
24#endif
25
26DCLCAPI int __getenv(const String& _name, String& _value);
27DCLCAPI int __setenv(const String& _name, const String& _value, bool _overwrite = true);
28DCLCAPI int __unsetenv(const String& _name);
29
30DCLCAPI int __realpath(const String& _path, String& _resolved);
31
32__DCL_END_NAMESPACE
33
34#endif // __DCL_STDLIB_H__
35
DCLCAPI int __setenv(const String &_name, const String &_value, bool _overwrite=true)
Definition _stdlib.cpp:52
DCLCAPI int __unsetenv(const String &_name)
Definition _stdlib.cpp:59
DCLCAPI int __getenv(const String &_name, String &_value)
Definition _stdlib.cpp:40
DCLCAPI int __realpath(const String &_path, String &_resolved)
Definition _stdlib.cpp:65
#define DCLCAPI
Definition Config.h:100