diff options
author | Christopher Faylor <me@cgf.cx> | 2010-10-23 18:07:08 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2010-10-23 18:07:08 +0000 |
commit | 4ce975efd3d490db601ee16e5b73cba644a2ed40 (patch) | |
tree | 6a433f769058632b4dbbbd8aa8512e7ed6217012 /newlib/libc/stdlib/strtol.c | |
parent | 2e859e07599abd6bbd54c98d5c69e3b3cd41929e (diff) | |
download | cygnal-4ce975efd3d490db601ee16e5b73cba644a2ed40.tar.gz cygnal-4ce975efd3d490db601ee16e5b73cba644a2ed40.tar.bz2 cygnal-4ce975efd3d490db601ee16e5b73cba644a2ed40.zip |
* fhandler.h (fhandler_termios::tcinit): Make second argument non-optional.
* fhandler_console.cc (fhandler_console::open): Specify second argument to
tcinit.
* fhandler_termios.cc (fhandler_termios::tcinit): Rename second argument. Set
pgid to 0 if this is a pty master.
(fhandler_termios::tcgetpgrp): Just return value of pgid. It will be zero if
not initialized.
* fhandler_tty.cc (fhandler_tty_slave::open): Specify second argument to
tcinit.
(fhandler_tty_slave::ioctl): Implement TIOCGPRP/TIOCSPGRP. Fix switch
indentation.
(fhandler_tty_master::ioctl): Implement TIOCGPRP/TIOCSPGRP.
* include/sys/termios.h (TIOCGPGRP): Define similarly to Linux.
* include/sys/termios.h (TIOCSPGRP): Ditto.
Diffstat (limited to 'newlib/libc/stdlib/strtol.c')
0 files changed, 0 insertions, 0 deletions