| 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; | |