Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Aug 2016 10:49:56 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        Bruce Simpson <bms@fastmail.net>, John Baldwin <jhb@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r303522 - head/sys/dev/cxgbe
Message-ID:  <1470070196.1283.25.camel@freebsd.org>
In-Reply-To: <86806f53-8ecd-d7d7-aad3-592d6b702609@fastmail.net>
References:  <201607292211.u6TMBTEJ092580@repo.freebsd.org> <86806f53-8ecd-d7d7-aad3-592d6b702609@fastmail.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2016-08-01 at 16:38 +0100, Bruce Simpson wrote:
> "Yes, I know it's not a typewriter. Why is this command not working?"
> 
> Perhaps this errno code should be aliased... and strerror() massaged
> in 
> places... assuming we strictly follow the POSIX.
> 

It's not clear just what point you're trying to make.

ENOTTY has a special meaning as a return value from an ioctl call in
some contexts (it specifically means the called routine did not handle
the command and other routines hooked into the ioctl call chain may be
able to do the job).

In addition, the strerror() output for ENOTTY says nothing about a
typewriter, the text is "Inappropriate ioctl for device."

-- Ian




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1470070196.1283.25.camel>