Hi Witold, I think you'll have to close the bug. I don't think I have the necessary rights to fgo that in the bug tracker.
Thanks, Michael On Wed, 20 May 2020 at 01:57, Witold Baryluk <witold.bary...@gmail.com> wrote: > > Hi Michael. > > It looks I was inspecting an outdated version of manpages on another > system, that didn't mention errno. > > You are right the current version in Debian does clearly states how > the errors are communicate. > > Please close this bug. > > Sorry for the confusion, and thanks for a quick response. > > On Wed, 6 May 2020 at 10:27, Michael Kerrisk (man-pages) > <mtk.manpa...@gmail.com> wrote: > > > > Hello Witold, > > > > > The man page doesn't tell how the error code is returned back to the > > > caller. > > > > > > Looking at the source code of hsearch and hsearch_r it looks to be via > > > errno, but manpage doesn't mention this at all. > > > > I'm a bit lost here. The manual page says: > > > > In the event of an error, these two functions set errno to > > indicate the cause of the error. > > > > This seems clear to me, or, otherwise, I really am missing your > > point, I'm sorry. > > > > -- > > Michael Kerrisk > > Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ > > Linux/UNIX System Programming Training: http://man7.org/training/ -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/