All of lore.kernel.org
 help / color / mirror / Atom feed
* why is NCCS equal to 17 on sparc?
@ 2018-08-16 19:20 Al Viro
  2018-08-16 19:37 ` Al Viro
  0 siblings, 1 reply; 2+ messages in thread
From: Al Viro @ 2018-08-16 19:20 UTC (permalink / raw)
  To: sparclinux

	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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-16 19:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-16 19:20 why is NCCS equal to 17 on sparc? Al Viro
2018-08-16 19:37 ` Al Viro

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.