broken ioctl?

Charles Warden (
Fri, 25 Oct 1996 14:23:25 -0400 (EDT)

Perhaps this isn't a kernel question, but I am not exactly sure how
ioctls are implemented. In my 2.0.23 kernel, ioctl(0, TIOCGETP, &sggbuf)
always returns <0. It seems like a perfectly good thing to do, and it
even worked on linux 1.2.13. I'm trying to compile tintin++.

Oliver Richman
p.s. A question for (expecially Allan Cox): Does a reference exist for
porting general net programs to Linux, for example a program that deals
with sockets? Sometimes, such programs don't use Linux's interface.