On Jul 5, 2009, at 8:18 PM, "Garrett D'Amore" <garr...@damore.org>
wrote:
James Carlson wrote:
On Jul 4, 2009, at 3:08 AM, "Garrett D'Amore" <gdam...@sun.com>
wrote:
Granted, I doubt many (or perhaps not even *any*) drivers return
ENOSTR from their open() entry point....
I haven't really been paying attention to this discussion, but that
assertion seems quite wrong to me. ENOSR (no STREAMS resources) is
something often used in STREAMS modules, and would be a natural
return from open(9E) if one got NULL from allocb(9F).
Using it as a special value sounds unworkable to me.
Not ENOSR. ENOSTR. (Note the "T".) ENOSTR's error is used when
trying a system call like putmsg() on a device node that is not a
STREAM.
<emilylitella>
Never mind.
</emilylitella>
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code