lkml.org 
[lkml]   [2005]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 7/8] ppc64: SPU file system
From
Date

> > ioctl's are generally considered evil ... what about a write() method
> > writing a command ?
>
> That's even more evil than ioctl()... Try doing 32-vs-64bit conversion
> on write...

I don't see the problem ... if you are passing a structure, you have to
convert it anyway, and it's bad practice. I was thinking about passing
ascii so it can be controlled by shell scripts.

Ben.


-
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: 2005-05-15 14:09    [W:0.055 / U:1.560 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site