git: ttyname(3) - Return EBADF if the fd passed is invalid

看板DFBSD_commit作者時間16年前 (2009/08/11 19:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit f118e32556a080395ee8dc9328ca96984f03bf11 Author: Alex Hornung <ahornung@gmail.com> Date: Tue Aug 11 12:07:16 2009 +0100 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. Summary of changes: lib/libc/gen/ttyname.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f118e32556a080395ee8dc9328ca96984f03bf11 -- DragonFly BSD source repository
文章代碼(AID): #1AWLQvzm (DFBSD_commit)