David Schultz 325d97d0d1 Set errno to EBADF on attempts to write to a stream that is not
writable.  Affected callers include fwrite(), put?(), and *printf().
The issue of whether this is the right errno for funopened streams is
unresolved, but that's an obscure case, and some errno is better than
no errno.

Discussed with:	bde, jkh
2004-06-08 05:44:52 +00:00
..
2004-05-14 12:04:31 +00:00
2004-02-16 10:02:40 +00:00
2004-03-02 06:22:24 +00:00
2004-05-14 11:51:22 +00:00
2004-05-14 12:04:31 +00:00