blib/lib/POSIX/1003/Termios.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 24 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/POSIX/1003/Symbols.pm ↑ Summary blib/lib/POSIX/1003/User.pm »
1 # Copyrights 2011-2013 by [Mark Overmeer].
2 # For other contributors see ChangeLog.
3 # See the manual pages for details on the licensing terms.
4 # Pod stripped from pm file by OODoc 2.01.
5 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 package POSIX::1003::Termios;
9 3 ▶use vars '$VERSION';
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 $VERSION = '0.98';
11  
12 3 ▶use base 'POSIX::1003::Module', 'POSIX::Termios';
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 1 my @speed = qw/
15 B0 B110 B1200 B134 B150 B1800 B19200 B200 B2400
16 B300 B38400 B4800 B50 B600 B75 B9600
17 /;
18  
19 1 my @flags = qw/
20 BRKINT CLOCAL ECHONL HUPCL ICANON ICRNL IEXTEN IGNBRK IGNCR IGNPAR
21 INLCR INPCK ISIG ISTRIP IXOFF IXON NCCS NOFLSH OPOST PARENB PARMRK
22 PARODD TOSTOP VEOF VEOL VERASE VINTR VKILL VMIN VQUIT VSTART VSTOP
23 VSUSP VTIME
24 /;
25  
26 1 my @actions = qw/
27 TCSADRAIN TCSANOW TCOON TCION TCSAFLUSH TCIOFF TCOOFF
28 /;
29  
30 1 my @flush = qw/TCIOFLUSH TCOFLUSH TCIFLUSH/;
31 1 my @functions = qw/
32 tcdrain tcflow tcflush tcsendbreak
33 ttyname
34 /;
35  
36 1 our %EXPORT_TAGS =
37 ( speed => \@speed
38 , flags => \@flags
39 , actions => \@actions
40 , flush => \@flush
41 , constants => [@speed, @flags, @actions, @flush]
42 , functions => \@functions
43 );
44  
45  
46 1 1;
« blib/lib/POSIX/1003/Symbols.pm ↑ Summary blib/lib/POSIX/1003/User.pm »