From owner-freebsd-hackers Mon Feb 12 22:15:17 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA12950 for hackers-outgoing; Mon, 12 Feb 1996 22:15:17 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id WAA12935 for ; Mon, 12 Feb 1996 22:15:08 -0800 (PST) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id QAA10056 for hackers@freebsd.org; Tue, 13 Feb 1996 16:46:33 +1030 From: Michael Smith Message-Id: <199602130616.QAA10056@genesis.atrad.adelaide.edu.au> Subject: device driver ioctl for nonblocking IO? To: hackers@freebsd.org Date: Tue, 13 Feb 1996 16:46:32 +1030 (CST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org Precedence: bulk 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 [[