Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 May 2000 23:44:43 -0600
From:      Warner Losh <imp@village.org>
To:        Alexander Langer <alex@big.endian.de>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: problem with ioctl handler in a module 
Message-ID:  <200005070544.XAA68628@harmony.village.org>
In-Reply-To: Your message of "Sat, 06 May 2000 20:09:40 %2B0200." <20000506200940.A8087@cichlids.cichlids.com> 
References:  <20000506200940.A8087@cichlids.cichlids.com>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20000506200940.A8087@cichlids.cichlids.com> Alexander Langer writes:
: Anyone knows, what I'm doing wrong?

10 is not a valid ioctl number.  You gotta use the _IO* macros to
construct one that does the copyin/copyout as needed.

Warner


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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