lkml.org 
[lkml]   [2006]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] rtc subsystem, use ENOIOCTLCMD where appropriate
On Wed, 17 May 2006 14:25:10 -0700
"Randy.Dunlap" <rdunlap@xenotime.net> wrote:

> On Wed, 17 May 2006 01:30:33 +0200 Alessandro Zummo wrote:
>
> >
> >
> > Appropriately use -ENOIOCTLCMD when
> > the ioctl is not implemented by a driver.
>
> so this return value does not go back to userspace?
> Comment in linux/errno.h says:
> /* Should never be seen by user programs */
>
> and ENOTTY is the return value for "Inappropriate ioctl for device":
>

you're right. I'll go for ENOTTY. thanks.


--

Best regards,

Alessandro Zummo,
Tower Technologies - Turin, Italy

http://www.towertech.it

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-17 23:30    [W:0.092 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site