summaryrefslogtreecommitdiff
path: root/PACE/pace/posix/termios.inl
blob: a762fc18f98f0abc7e39dd43ed0266b26d7ae0eb (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
/* $Id$ -*- C -*-

 * =============================================================================
 *
 * = LIBRARY
 *    pace
 *
 * = FILENAME
 *    pace/posix/termios.inl
 *
 * = AUTHOR
 *    Luther Baker
 *
 * ============================================================================= */

#include "pace/unistd.h"
#include <termios.h>
PACE_INLINE
pace_speed_t
pace_cfgetospeed (const pace_termios *termiosp)
{
  return cfgetospeed (termiosp);
}

PACE_INLINE
int
pace_cfsetospeed (pace_termios *termios_p, pace_speed_t speed)
{
  return cfsetospeed (termios_p, speed);
}

PACE_INLINE
pace_speed_t
pace_cfgetispeed (const pace_termios *termios_p)
{
  return cfgetispeed (termios_p);
}

PACE_INLINE
int
pace_cfsetispeed (pace_termios *termios_p, pace_speed_t speed)
{
  return cfsetispeed (termios_p, speed);
}

PACE_INLINE
int
pace_tcdrain (int fildes)
{
  return tcdrain (fildes);
}

PACE_INLINE
int
pace_tcgetattr (int fildes, pace_termios *termios_p)
{
  return tcgetattr (fildes, termios_p);
}

PACE_INLINE
int
pace_tcflow (int fildes, int action)
{
  return tcflow (fildes, action);
}

PACE_INLINE
int
pace_tcflush (int fildes, int queue_selector)
{
  return tcflush (fildes, queue_selector);
}

PACE_INLINE
int
pace_tcsendbreak (int fildes, int duration)
{
  return tcsendbreak (fildes, duration);
}

PACE_INLINE
int
pace_tcsetattr (int fildes,
                int optional_actions,
                const pace_termios *termios_p)
{
  return tcsetattr (fildes, optional_actions, termios_p);
}