Re: ioctl()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux