newlib-cygwin/winsup/cygwin/include/sys
Christopher Faylor 4add6f8db1 * cygwin.din: Remove some _tc* exports. Add tcgetsid().
* dtable.cc (fh_alloc): Revert ill-advised setting of major/minor.  Use new
is_dev_tty to remember that this device was opened as /dev/tty.
* fhandler.cc (fhandler_base::fstat): Remove leftover debugging statement.
(fhandler_base::tcgetsid): New function.
* fhandler.h ((fhandler_base::tcgetsid): Declare new function.
(fhandler_base::is_dev_tty): Ditto.
(fhandler_termios::opened_as_dev_tty): Declare new field.
(fhandler_termios::is_dev_tty): Declare new function.
(fhandler_termios::tcgetsid): Ditto.
(fhandler_pty_common::use_archetype): Move here from subclass.
(fhandler_pty_slave::use_archetype): Move up.
(fhandler_pty_master::use_archetype): Ditto.
* fhandler_console.cc (fhandler_console::ioctl): Rename second argument from
`buf' to `arg' for consistency.  Call ioctl_termios for common fhandler_termios
ioctl handling.
* fhandler_tty.cc (fhandler_pty_slave::ioctl): Call ioctl_termios for common
fhandler_termios ioctl handling.
(fhandler_pty_master::ioctl): Ditto.
* fhandler_termios.cc (fhandler_termios::tcgetsid): Implement new function.
(fhandler_termios::ioctl_termios): Ditto.  Implements TIOCSCTTY handling.
* syscalls.cc (stat_worker): Set /dev/tty device info when appropriate.
* termios.cc (tcgetpgrp): Avoid extraneous "isatty" check.
(tcgetsid): Implement new function.
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 253.
* include/sys/termios.h (TIOCSCTTY): Define.
2011-10-11 23:20:38 +00:00
..
acl.h
copying.dj
cygwin.h * include/sys/cygwin.h (cygwin_getinfo_types): Define values 2011-10-07 13:49:17 +00:00
dirent.h * include/sys/dirent.h (d_fileno): Define as d_ino. 2010-08-06 18:55:25 +00:00
elf32.h
elf64.h
elf_common.h
elf_generic.h
file.h
ioctl.h
ipc.h
kd.h
lock.h
mman.h * cygwin.din (madvise): Export posix_madvise as madvise. 2011-01-12 13:01:43 +00:00
mount.h * mount.cc (struct opt): Add "bind" option. 2010-08-11 10:58:06 +00:00
msg.h
mtio.h
param.h * include/sys/param.h (NGROUPS): Redefine as NGROUPS_MAX. 2011-07-01 12:45:25 +00:00
poll.h * include/sys/poll.h: Include signal.h to get definition of sigset_t. 2011-04-21 07:18:42 +00:00
procfs.h
queue.h
resource.h
select.h * include/sys/select.h: Guard definitions with __USE_W32_SOCKETS as 2009-05-08 10:54:58 +00:00
sem.h
shm.h
smallprint.h
socket.h * cygwin.din (accept4): Export. 2010-01-15 15:40:05 +00:00
soundcard.h
statfs.h
statvfs.h
stdio.h * include/sys/stdio.h: Remove _GNU_SOURCE guard around getline 2010-06-07 09:16:11 +00:00
strace.h * dll_init.cc: Use fabort in favor of api_fatal and fork_info->abort where 2011-08-03 17:58:59 +00:00
sysinfo.h * sysconf.cc (sysinfo): New function. 2011-05-06 18:53:21 +00:00
syslimits.h
syslog.h
sysmacros.h * include/cygwin/types.h: Move #include <sys/sysmacros.h> to 2011-04-05 00:53:17 +00:00
sysproto.h
termio.h
termios.h * cygwin.din: Remove some _tc* exports. Add tcgetsid(). 2011-10-11 23:20:38 +00:00
ttychars.h
uio.h
un.h * include/sys/un.h: #include <string.h> for strlen. 2009-03-23 08:45:18 +00:00
utime.h
utmp.h
utsname.h
vfs.h
wait.h 2011-10-06 Christian Franke <franke@computer.org> 2011-10-06 16:02:37 +00:00
xattr.h * include/sys/xattr.h: New file. 2011-03-29 08:03:35 +00:00