Re: Mention errno in printf(3) man

2018-09-06 Thread Otto Moerbeek
On Wed, Sep 05, 2018 at 12:01:59PM -0700, ge...@geoffhill.org wrote: > Right now the printf(3) family of manpages make no reference to errno. > Glancing at __vfprintf, it appears that most of the erroneous paths do > set errno. Most, but not all. Stating it will set errno in all error cases is

Mention errno in printf(3) man

2018-09-05 Thread geoff
Right now the printf(3) family of manpages make no reference to errno. Glancing at __vfprintf, it appears that most of the erroneous paths do set errno. Should the manual be amended to reflect this behavior, so that users have a documented way to determine the cause of failure in such cases?