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
dce-termio.cc
Go to the documentation of this file.
1
#include "
dce-termio.h
"
2
#include "
utils.h
"
3
#include "
process.h
"
4
#include "
dce-manager.h
"
5
#include "ns3/log.h"
6
#include "ns3/assert.h"
7
#include <vector>
8
#include <errno.h>
9
10
NS_LOG_COMPONENT_DEFINE
(
"SimuTermio"
);
11
12
using namespace
ns3;
13
14
15
int
dce_tcgetattr
(
int
fd,
struct
termios *termios_p)
16
{
17
NS_ASSERT (
Current
() != 0);
18
Thread
*current =
Current
();
19
20
current->
err
= ENOTTY;
21
return
-1;
22
}
23
int
dce_tcsetattr
(
int
fd,
int
optional_actions,
const
struct
termios *termios_p)
24
{
25
NS_ASSERT (
Current
() != 0);
26
Thread
*current =
Current
();
27
28
current->
err
= ENOTTY;
29
return
-1;
30
}
model
dce-termio.cc
Generated on Fri Aug 30 2013 13:57:55 for ns-3-dce by
1.8.1.2