Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 1996 16:46:32 +1030 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        hackers@freebsd.org
Subject:   device driver ioctl for nonblocking IO?
Message-ID:  <199602130616.QAA10056@genesis.atrad.adelaide.edu.au>

next in thread | raw e-mail | index | archive | help

I've got a really stupid one here...

In a device driver I'm writing, I'd like to support nonblocking I/O.

If I open an fd on the device and fcntl(fd, F_SETFL, O_NONBLOCK), I get
a mystery ioctl sent to my device.

The question is : what is it?  I haven't been able to find an example
where this is done anywhere else (*grumble*), so I'm left a little
puzzled.

Any ideas?

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] Collector of old Unix hardware.      "I seek PEZ!" - The Tick        [[



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