Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Nov 1995 09:22:39 +0000 ()
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        joerg_wunsch@uriah.heep.sax.de
Cc:        msmith@atrad.adelaide.edu.au, hackers@freebsd.org
Subject:   Re: ioctl() question...
Message-ID:  <199511080922.JAA06752@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199511080909.KAA17710@uriah.heep.sax.de> from "J Wunsch" at Nov 8, 95 10:09:28 am

next in thread | previous in thread | raw e-mail | index | archive | help
J Wunsch stands accused of saying:
> 
> > 
> >  A device-driver level question :
> 
> Yup, but what's the question?

Ah, sorry.  The question was :

is it faster/better/more traditional/sexier to -

a)  use the two-ioctl sequence _IOW(lots), IOR(int)

or

b)  use a single ioctl _IOWR(lots)

where bulk data is passed in, but only an int is coming back.

> cheers, J"org

I am reminded of the minix ioctl manpage 8)

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 041-122-496        [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] My car has "demand start" -Terry Lambert  UNIX: live FreeBSD or die! [[



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