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 _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"