From owner-freebsd-hackers Wed Feb 5 16:50:32 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA29481 for hackers-outgoing; Wed, 5 Feb 1997 16:50:32 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA29473 for ; Wed, 5 Feb 1997 16:50:30 -0800 (PST) Received: from werple.net.au (melb.werple.net.au [203.9.190.18]) by who.cdrom.com (8.7.5/8.6.11) with SMTP id QAA17500 for ; Wed, 5 Feb 1997 16:50:28 -0800 (PST) Received: (qmail 5176 invoked by uid 5); 6 Feb 1997 00:49:47 -0000 MBOX-Line: From jb@freebsd1.cimlogic.com.au Thu Feb 6 11:50:17 1997 Received: (from jb@localhost) by freebsd1.cimlogic.com.au (8.7.5/8.7.3) id LAA03861 for hackers@freebsd.org; Thu, 6 Feb 1997 11:50:17 +1100 (EST) From: John Birrell Message-Id: <199702060050.LAA03861@freebsd1.cimlogic.com.au> Subject: fcntl, F_SETFL, O_NONBLOCK & /dev/null To: hackers@freebsd.org Date: Thu, 6 Feb 1997 11:50:16 +1100 (EST) X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk G'day, I can open /dev/null with O_NONBLOCK. If I open /dev/null without O_NONBLOCK and then try to fcntl F_SETFL to change the file descriptor to non-blocking, I get ENODEV returned. Can someone tell me why? Regards, -- John Birrell CIMlogic Pty Ltd jb@cimlogic.com.au; jb@netbsd.org 119 Cecil Street Ph +61 3 9690 6900 South Melbourne Vic 3205 Fax +61 3 9690 6650 Australia Mob +61 18 353 137