Hello, Robert!

On 10:12 Sat 03 Jan     , Robert P. J. Day wrote:
>   the last i heard, while ioctl's aren't going away any time soon,
> they're deprecated in favour of ... uh, files under /sys?  am i

How is it possible to replace ioctls by files in /sys? Should my kernel
module create a file in /sys and communicate with applications through
read/write syscalls?

> remembering that correctly?  in short, if you're already working with
> an ioctl-based code base, keep doing that.  but if you have the
> opportunity to design some kernel code from scratch, use the sysfs.
> 
>   or am i way off base here?
> 
> rday
> --

                                        Alexander

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to