summaryrefslogtreecommitdiff
path: root/PACE/pace/vxworks/termios.inl
blob: 30c778371f31051734b16140d3f7a717fa7407ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
/* $Id$ -*- C -*-

 * =============================================================================
 *
 * = LIBRARY
 *    pace
 *
 * = FILENAME
 *    pace/vxworks/termios.inl
 *
 * = AUTHOR
 *    Joe Hoffert
 *
 * ============================================================================= */


#if (PACE_HAS_POSIX_DS_UOF)
PACE_INLINE
pace_speed_t
pace_cfgetospeed (const pace_termios *termiosp)
{
  PACE_TRACE("pace_cfgetospeed");

  PACE_UNUSED_ARG(termiosp);
  PACE_ERRNO_NO_SUPPORT_RETURN (-1);
}
#endif /* PACE_HAS_POSIX_DS_UOF */

#if (PACE_HAS_POSIX_DS_UOF)
PACE_INLINE
int
pace_cfsetospeed (pace_termios *termios_p, pace_speed_t speed)
{
  PACE_TRACE("pace_cfsetospeed");

  PACE_UNUSED_ARG(termios_p);
  PACE_UNUSED_ARG(speed);
  PACE_ERRNO_NO_SUPPORT_RETURN (-1);
}
#endif /* PACE_HAS_POSIX_DS_UOF */

#if (PACE_HAS_POSIX_DS_UOF)
PACE_INLINE
pace_speed_t
pace_cfgetispeed (const pace_termios *termios_p)
{
  PACE_TRACE("pace_cfgetispeed");

  PACE_UNUSED_ARG(termios_p);
  PACE_ERRNO_NO_SUPPORT_RETURN (-1);
}
#endif /* PACE_HAS_POSIX_DS_UOF */

#if (PACE_HAS_POSIX_DS_UOF)
PACE_INLINE
int
pace_cfsetispeed (pace_termios *termios_p, pace_speed_t speed)
{
  PACE_TRACE("pace_cfsetispeed");

  PACE_UNUSED_ARG(termios_p);
  PACE_UNUSED_ARG(speed);
  PACE_ERRNO_NO_SUPPORT_RETURN (-1);
}
#endif /* PACE_HAS_POSIX_DS_UOF */

#if (PACE_HAS_POSIX_DS_UOF)
PACE_INLINE
int
pace_tcdrain (PACE_HANDLE fildes)
{
  PACE_TRACE("pace_tcdrain");

  PACE_UNUSED_ARG(fildes);
  PACE_ERRNO_NO_SUPPORT_RETURN (-1);
}
#endif /* PACE_HAS_POSIX_DS_UOF */

#if (PACE_HAS_POSIX_DS_UOF)
PACE_INLINE
int
pace_tcgetattr (PACE_HANDLE fildes, pace_termios *termios_p)
{
  PACE_TRACE("pace_tcgetattr");

  PACE_UNUSED_ARG(fildes);
  PACE_UNUSED_ARG(termios_p);
  PACE_ERRNO_NO_SUPPORT_RETURN (-1);
}
#endif /* PACE_HAS_POSIX_DS_UOF */

#if (PACE_HAS_POSIX_DS_UOF)
PACE_INLINE
int
pace_tcflow (PACE_HANDLE fildes, int action)
{
  PACE_TRACE("pace_tcflow");

  PACE_UNUSED_ARG(fildes);
  PACE_UNUSED_ARG(action);
  PACE_ERRNO_NO_SUPPORT_RETURN (-1);
}
#endif /* PACE_HAS_POSIX_DS_UOF */

#if (PACE_HAS_POSIX_DS_UOF)
PACE_INLINE
int
pace_tcflush (PACE_HANDLE fildes, int queue_selector)
{
  PACE_TRACE("pace_tcflush");

  PACE_UNUSED_ARG(fildes);
  PACE_UNUSED_ARG(queue_selector);
  PACE_ERRNO_NO_SUPPORT_RETURN (-1);
}
#endif /* PACE_HAS_POSIX_DS_UOF */

#if (PACE_HAS_POSIX_DS_UOF)
PACE_INLINE
int
pace_tcsendbreak (PACE_HANDLE fildes, int duration)
{
  PACE_TRACE("pace_tcsendbreak");

  PACE_UNUSED_ARG(fildes);
  PACE_UNUSED_ARG(duration);
  PACE_ERRNO_NO_SUPPORT_RETURN (-1);
}
#endif /* PACE_HAS_POSIX_DS_UOF */

#if (PACE_HAS_POSIX_DS_UOF)
PACE_INLINE
int
pace_tcsetattr (PACE_HANDLE fildes,
                int optional_actions,
                const pace_termios *termios_p)
{
  PACE_TRACE("pace_tcsetattr");

  PACE_UNUSED_ARG(fildes);
  PACE_UNUSED_ARG(optional_actions);
  PACE_UNUSED_ARG(termios_p);
  PACE_ERRNO_NO_SUPPORT_RETURN (-1);
}
#endif /* PACE_HAS_POSIX_DS_UOF */