Date: Sat, 11 Oct 1997 14:16:52 -0700 (PDT) From: mdean <mdean@best.com> To: freebsd-hackers@freebsd.org Subject: Is this a bug, or just a feature. Message-ID: <Pine.SGI.3.95.971011141336.22060A-100000@shellx.best.com>
next in thread | raw e-mail | index | archive | help
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.SGI.3.95.971011141336.22060A-100000>