Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 1997 11:50:16 +1100 (EST)
From:      John Birrell <jb@cimlogic.com.au>
To:        hackers@freebsd.org
Subject:   fcntl, F_SETFL, O_NONBLOCK & /dev/null
Message-ID:  <199702060050.LAA03861@freebsd1.cimlogic.com.au>

next in thread | raw e-mail | index | archive | help
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



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