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.h
Go to the documentation of this file.
1
#ifndef LIBC_H
2
#define LIBC_H
3
4
#include <stdarg.h>
5
#define _SYS_SELECT_H
6
#include <sys/types.h>
7
#undef _SYS_SELECT_H
8
9
struct
Libc
10
{
11
12
#define DCE(name) void (*name ## _fn) (...);
13
14
#define DCET(rtype, name) DCE (name)
15
#define NATIVET(rtype, name) NATIVE (name)
16
17
#define DCE_EXPLICIT(name,rtype,...) rtype (*name ## _fn) (__VA_ARGS__);
18
#include "
libc-ns3.h
"
19
20
char
* (*strpbrk_fn)(
const
char
*s,
const
char
*
accept
);
21
char
* (*strstr_fn)(
const
char
*a,
const
char
*b);
22
int (*
vsnprintf_fn
)(
char
*str,
size_t
size,
const
char
*format, va_list v);
23
};
24
25
26
#endif
/* LIBC_H */
model
libc.h
Generated on Fri Aug 30 2013 13:57:55 for ns-3-dce by
1.8.1.2