Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jun 2005 14:03:56 +0200
From:      "Norbert Koch" <NKoch@demig.de>
To:        "Freebsd-Hackers@Freebsd. Org" <freebsd-hackers@freebsd.org>
Subject:   O_NONBLOCK vs IO_NDELAY: what to use where?
Message-ID:  <000001c56834$519f2720$4801a8c0@ws-ew-3.W2KDEMIG>

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

In releng-4 the device driver's
read/write functions check for
non-blocking i/o using
  (flag & IO_NDELAY)
Is that changed in current to
O_NONBLOCK?

As I understand:

#include <vnode.h>
IO_NDELAY
for releng-4

and

#include <fcntl.h>
O_NONBLOCK
for current.

Correct?
If yes, what exact version should I test for?

Thank you,

Norbert Koch



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001c56834$519f2720$4801a8c0>