ttyname(3) - Return EBADF if the fd passed is invalid
authorAlex Hornung <ahornung@gmail.com>
Tue, 11 Aug 2009 11:07:16 +0000 (12:07 +0100)
committerAlex Hornung <ahornung@gmail.com>
Tue, 11 Aug 2009 11:41:54 +0000 (12:41 +0100)
commitf118e32556a080395ee8dc9328ca96984f03bf11
tree6d1be375841ca2928a94479a2589a893854fe857
parent65653ce53bb5cbe57fa398275e47fe1ce54d67f0
ttyname(3) - Return EBADF if the fd passed is invalid

* Return EBADF instead of ENOTTY if the passed file descriptor is not
  valid to conform with standard.
lib/libc/gen/ttyname.c