From: Al Viro <viro@ZenIV.linux.org.uk>
To: sparclinux@vger.kernel.org
Subject: why is NCCS equal to 17 on sparc?
Date: Thu, 16 Aug 2018 19:20:04 +0000 [thread overview]
Message-ID: <20180816192004.GZ6515@ZenIV.linux.org.uk> (raw)
AFAICS, on sparc we have termios->c_cc[] matching Solaris
one. Same entries, same order - from INTR in ->c_cc[0] to LNEXT
in ->c_cc[15]. What the hell is (userland) ->c_cc[16] for? The
kernel uses ->c_cc[16] for MIN, ->c_cc[17] - for TIME and noting,
AFAICS, uses ->c_cc[18].
On the userland side, of course, MIN and TIME are
non-canon occupants of what would've been EOF and EOL slots
in canon mode...
Looks like the kernel-side array (NCCS+2) should've been
18-element and userland one (NCCS) - 16-element...
What am I missing here?
next reply other threads:[~2018-08-16 19:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-16 19:20 Al Viro [this message]
2018-08-16 19:37 ` why is NCCS equal to 17 on sparc? Al Viro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180816192004.GZ6515@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=sparclinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.