ns-3 Direct Code Execution
Home
Tutorials ▼
Docs ▼
Wiki
Manual
Develop ▼
API
Bugs
API
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
libc-global-variables.cc
Go to the documentation of this file.
1
#undef __OPTIMIZE__
2
#include <stdio.h>
3
#include <netinet/in.h>
4
#include "
libc-globals.h
"
5
6
FILE *
stdin
;
7
FILE *
stdout
;
8
FILE *
stderr
;
9
const
struct
in6_addr
in6addr_any
= IN6ADDR_ANY_INIT;
10
const
struct
in6_addr
in6addr_loopback
= IN6ADDR_LOOPBACK_INIT;
11
char
*
optarg
= 0;
12
int
optind
= 0,
opterr
= 0,
optopt
= 0;
13
const
char
*
_libc_intl_domainname
=
"libc"
;
14
char
**
__environ
= 0;
15
int
h_errno
;
16
__thread
int
errno
;
17
__thread
struct
__res_state *
__resp
;
18
char
*
__progname
= 0;
19
char
*
dce_proginvname
= 0;
20
char
*
dce_proginvnameshort
= 0;
21
22
#define weak_alias(name, aliasname) \
23
extern __typeof (name) aliasname __attribute__ ((weak, alias (# name)))
24
25
weak_alias
(
__progname
, __progname_full);
26
27
weak_alias
(
__environ
,environ);
28
29
weak_alias
(
dce_proginvname
, program_invocation_name);
30
31
weak_alias
(
dce_proginvnameshort
, program_invocation_short_name);
32
model
libc-global-variables.cc
Generated on Fri Aug 30 2013 13:57:55 for ns-3-dce by
1.8.1.2