Re: Not a typewriter

Tom Leete
2001-05-11T07:23:30Z

"Richard B. Johnson" wrote:
>
> I noticed that my favorite "errno" has now gotten trashed by
> the newer 'C' runtime libraries.
>
> ENOTTY has been for ages, "Not a typewriter".
> It's now been changed to "Inappropriate ioctl for device".
>
> Methinks that this means that ../linux/include/asm/errno.h now needs
> to be updated:
>
> -#define ENOTTY 25 /* Not a typewriter */
> +#define ENOTTY 25 /* Inappropriate ioctl for device
> */
>
> None of these strings are in the kernel, but the headers probably should
> show the "latest standard".
>
> Cheers,
> Dick Johnson

Probably so, but I think:

character device => typewriter
block => sheet of paper
block device => stack of paper

is not a bad analogy.

Cheers
Tom

PS. I didn't dare call it a ream of paper ;-)

--
The Daemons lurk and are dumb. -- Emerson