newlib-cygwin/winsup/cygwin/fhandler
Takashi Yano 13a84ac79b Cygwin: ctty: Replace ctty constant with more descriptive macros.
This patch replaces ctty constants with more descriptive macros
(CTTY_UNINITIALIZED and CTTY_RELEASED) rather than -1 and -2 as
well as checking sign with CTTY_IS_VALID().

Fixes: 3b7df69aaa (Cygwin: ctty: Add comments for the special values: -1 and -2.)
Suggested-by: Corinna Vinschen <corinna@vinschen.de>
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
2023-03-07 10:51:29 +09:00
..
base.cc Cygwin: fsync: Fix EINVAL for block device. 2023-01-22 19:01:34 +09:00
clipboard.cc
console.cc Cygwin: ctty: Replace ctty constant with more descriptive macros. 2023-03-07 10:51:29 +09:00
cygdrive.cc
dev.cc
dev_fd.cc
disk_file.cc Cygwin: get_posix_access: Make mode_t parameter mandatory 2023-02-09 21:58:44 +01:00
dsp.cc Cygwin: dsp: Fix SNDCTL_DSP_{POST,SYNC} ioctl() behaviour. 2023-02-25 10:28:34 +09:00
fifo.cc Cygwin: select: don't report read ready on a FIFO never opened for writing 2022-10-19 08:17:50 -04:00
floppy.cc
mqueue.cc Cygwin: get_posix_access: Make mode_t parameter mandatory 2023-02-09 21:58:44 +01:00
netdrive.cc
nodevice.cc
null.cc
pipe.cc Cygwin: pipe: Fix performance degradation for non-cygwin pipe. 2022-12-09 21:01:29 +09:00
proc.cc Cygwin: locale: fix devanagari modifier 2023-02-26 17:17:33 +01:00
process.cc Cygwin: ctty: Replace ctty constant with more descriptive macros. 2023-03-07 10:51:29 +09:00
process_fd.cc
procnet.cc
procsys.cc Cygwin: get_posix_access: Make mode_t parameter mandatory 2023-02-09 21:58:44 +01:00
procsysvipc.cc
pty.cc Cygwin: ctty: Replace ctty constant with more descriptive macros. 2023-03-07 10:51:29 +09:00
random.cc
raw.cc
registry.cc Cygwin: get_posix_access: Make mode_t parameter mandatory 2023-02-09 21:58:44 +01:00
serial.cc Cygwin: serial: Fix a copy-paste error in DTR setup 2022-11-29 11:47:27 +01:00
signalfd.cc
socket.cc
socket_inet.cc
socket_local.cc
socket_unix.cc
tape.cc
termios.cc Cygwin: ctty: Replace ctty constant with more descriptive macros. 2023-03-07 10:51:29 +09:00
timerfd.cc
virtual.cc
windows.cc
zero.cc