[Bug 191931] isatty(-1)/ttyname_r(-1, ...) sets EBADF instead of ENOTTY; does not conform to manpage/POSIX

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 18 21:30:50 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191931

--- Comment #3 from commit-hook at freebsd.org ---
A commit references this bug:

Author: jilles
Date: Fri Jul 18 21:29:59 UTC 2014
New revision: 268857
URL: http://svnweb.freebsd.org/changeset/base/268857

Log:
  ttyname(3): Fix EBADF/ENOTTY error descriptions.

  Also, make sure to document the return values and errors for all three
  functions in the man page.

  PR:        191931
  MFC after:    1 week

Changes:
  head/lib/libc/gen/ttyname.3

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list