4ce975efd3
* 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. |
||
---|---|---|
.. | ||
acl.h | ||
copying.dj | ||
cygwin.h | ||
dirent.h | ||
elf32.h | ||
elf64.h | ||
elf_common.h | ||
elf_generic.h | ||
file.h | ||
ioctl.h | ||
ipc.h | ||
kd.h | ||
lock.h | ||
mman.h | ||
mount.h | ||
msg.h | ||
mtio.h | ||
param.h | ||
poll.h | ||
procfs.h | ||
queue.h | ||
resource.h | ||
select.h | ||
sem.h | ||
shm.h | ||
smallprint.h | ||
socket.h | ||
soundcard.h | ||
statfs.h | ||
statvfs.h | ||
stdio.h | ||
strace.h | ||
sysinfo.h | ||
syslimits.h | ||
syslog.h | ||
sysmacros.h | ||
sysproto.h | ||
termio.h | ||
termios.h | ||
ttychars.h | ||
uio.h | ||
un.h | ||
utime.h | ||
utmp.h | ||
utsname.h | ||
vfs.h | ||
wait.h |