Konstantin Belousov <kostik...@gmail.com> writes:
> Dag-Erling Smørgrav <d...@freebsd.org> writes:
> > Konstantin Belousov <kostik...@gmail.com> writes:
> > > Why is this check needed?
> > POSIX requires it.
> Could you please point me to the requirement?

General Assertion 39 in the Unix Conformance test suite.  Not sure
exactly which part of the standard it maps to.

> Some programs do this 'err(1, "stdout")' call due to libxo error,
> which is not exactly due to stdout error state.

Yes, this is how we detect a write error on stdout when using libxo.

DES
-- 
Dag-Erling Smørgrav - d...@freebsd.org

Reply via email to