git: ttyname(3) - Return EBADF if the fd passed is invalid
Alex Hornung
alexh at crater.dragonflybsd.org
Tue Aug 11 04:05:55 PDT 2009
commit f118e32556a080395ee8dc9328ca96984f03bf11
Author: Alex Hornung <ahornung at 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
More information about the Commits
mailing list