Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
EXTERNAL_HEADERS
RSL
etc
config
src
PUTENV_CONST_CHAR.cpp
Go to the documentation of this file.
1
// checking for putenv() in <stdlib.h>
2
3
25
#include <
stdlib.h
>
26
27
// [re]declare with the expected POSIX signature which will fail
28
// to compile if the implementation declares putenv(char*)
29
// (e.g., HP-UX, IRIX, etc.)
30
extern
"C"
int
putenv
(
const
char
*);
31
32
int
foo
()
33
{
34
const
char
*
var
=
"foobar"
;
35
36
return
putenv
(
var
);
37
}
var
#define var
Definition
17.names.cpp:573
putenv
int putenv(const char *)
foo
int foo()
Definition
PUTENV_CONST_CHAR.cpp:32
stdlib.h
Generated by
1.9.8