Date: Sun, 7 May 2000 10:50:52 +0200 From: Alexander Langer <alex@big.endian.de> To: Jake Burkholder <jburkhol@home.com> Cc: hackers@FreeBSD.ORG Subject: Re: problem with ioctl handler in a module Message-ID: <20000507105052.A1081@cichlids.cichlids.com> In-Reply-To: <20000506195810.31B4ABCA7@io.yi.org>; from jburkhol@home.com on Sat, May 06, 2000 at 12:58:10PM -0700 References: <alex@big.endian.de> <20000506195810.31B4ABCA7@io.yi.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Jake Burkholder (jburkhol@home.com):
> The request parameter to ioctl needs to contain length information.
> I think you want something like:
> #define ZIVA_IOCTL _IOW('c', 10, int)
> ioctl(fd, ZIVA_IOCTL, &foo);
That's it. Thanks!
Alex
--
I need a new ~/.sig.
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?20000507105052.A1081>
