diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-05-15 02:41:58 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-05-15 02:41:58 +0000 |
commit | 55d729e4e15089064cd25ed6dce2c105389f3837 (patch) | |
tree | 051c5ca4ce1910143237cc92caf129a28ce98436 /ext/POSIX | |
parent | 6ff81951f79dec32e15a779d288c1047f0e4fefb (diff) | |
download | perl-55d729e4e15089064cd25ed6dce2c105389f3837.tar.gz |
[win32] merge changes#922,944,949,965,970 from maintbranch
p4raw-link: @970 on //depot/maint-5.004/perl: 5362f8886d6c3fb908c863d910b1a158479419e2
p4raw-link: @965 on //depot/maint-5.004/perl: 8472ac73d6d802946d766b5459d2d9c334889a3f
p4raw-link: @949 on //depot/maint-5.004/perl: 4b161ae29769b4a3eb304314bbbfe5969417c8ec
p4raw-link: @944 on //depot/maint-5.004/perl: fa366f5fbba3f21113f9677105663454a3e0b678
p4raw-link: @922 on //depot/maint-5.004/perl: 68daf0ababdc0e913335a90c4361b792b2715301
p4raw-id: //depot/win32/perl@978
Diffstat (limited to 'ext/POSIX')
-rw-r--r-- | ext/POSIX/POSIX.pod | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/ext/POSIX/POSIX.pod b/ext/POSIX/POSIX.pod index c781765a14..4726487b47 100644 --- a/ext/POSIX/POSIX.pod +++ b/ext/POSIX/POSIX.pod @@ -1392,7 +1392,9 @@ Tests the SigSet object to see if it contains a specific signal. =item new Create a new Termios object. This object will be destroyed automatically -when it is no longer needed. +when it is no longer needed. A Termios object corresponds to the termios +C struct. new() mallocs a new one, getattr() fills it from a file descriptor, +and setattr() sets a file descriptor's parameters to match Termios' contents. $termios = POSIX::Termios->new; @@ -1474,13 +1476,13 @@ array so an index must be specified. Set the c_cflag field of a termios object. - $termios->setcflag( &POSIX::CLOCAL ); + $termios->setcflag( $c_cflag | &POSIX::CLOCAL ); =item setiflag Set the c_iflag field of a termios object. - $termios->setiflag( &POSIX::BRKINT ); + $termios->setiflag( $c_iflag | &POSIX::BRKINT ); =item setispeed @@ -1494,13 +1496,13 @@ Returns C<undef> on failure. Set the c_lflag field of a termios object. - $termios->setlflag( &POSIX::ECHO ); + $termios->setlflag( $c_lflag | &POSIX::ECHO ); =item setoflag Set the c_oflag field of a termios object. - $termios->setoflag( &POSIX::OPOST ); + $termios->setoflag( $c_oflag | &POSIX::OPOST ); =item setospeed |