about summary refs log tree commit diff
path: root/src/complex/casinf.c
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-13 11:16:11 -0500
committerRich Felker <dalias@aerifal.cx>2019-04-10 20:37:04 -0400
commit65c8be380431eebe4d70d130bd38563f8df9a7d7 (patch)
treefef2ee4721ebbbad10ae44a58b4c11cac5147669 /src/complex/casinf.c
parent788d5e24ca19c6291cebd8d1ad5b5ed6abf42665 (diff)
downloadmusl-65c8be380431eebe4d70d130bd38563f8df9a7d7.tar.gz
musl-65c8be380431eebe4d70d130bd38563f8df9a7d7.tar.xz
musl-65c8be380431eebe4d70d130bd38563f8df9a7d7.zip
fcntl.h: define O_TTY_INIT to 0
POSIX: "[If] either O_TTY_INIT is set in oflag or O_TTY_INIT has the
value zero, open() shall set any non-standard termios structure
terminal parameters to a state that provides conforming behavior."

The Linux kernel tty drivers always perform initialisation on their
devices to set known good termios values during the open(2) call.  This
means that setting O_TTY_INIT to zero is conforming.
Diffstat (limited to 'src/complex/casinf.c')
0 files changed, 0 insertions, 0 deletions