Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 2004 19:19:14 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Sam <sah@softcardsystems.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: AoE disk, stray ioctl? 
Message-ID:  <46412.1098811154@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 26 Oct 2004 12:49:27 CDT." <Pine.LNX.4.60.0410261225440.4856@athena> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.LNX.4.60.0410261225440.4856@athena>, Sam writes:

>When I do the write, I see two attempted ioctl calls with a
>a command of 1076655123 (402C7413h).  I return ENOTTY and

0x402c7413
	-- -> number  19
      ---- -> group   't'
    ------ -> length of arg (44)
  -------- -> direction (out)

ttycom.h:#define        TIOCGETA        _IOR('t', 19, struct termios) /* get termios struct */

You're handling it correctly.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46412.1098811154>