Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 1997 23:24:16 -0700 (PDT)
From:      Julian Elischer <julian@whistle.com>
To:        mdean <mdean@best.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Is this a bug, or just a feature.
Message-ID:  <Pine.BSF.3.95.971011232336.8026E-100000@current1.whistle.com>
In-Reply-To: <Pine.SGI.3.95.971011141336.22060A-100000@shellx.best.com>

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

OR the bits together.... you get O_RDWR
or am I mis-remembering..


On Sat, 11 Oct 1997, mdean wrote:

> 
> Shouldn't it be an error to call open("/dev/fd0", RD_ONLY|WR_ONLY,0)?
> I guess if your device doesn't like being read-only and write-only then it
> should look at oflags for itself? Or should this be caught at the syscall
> and rejected?
> 
> 
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.971011232336.8026E-100000>