The HyperNews Linux KHG Discussion Pages

## Use a device driver and read()/write()/ioctl()

  Forum: The Linux Kernel Hackers' Guide
  Re: writing/accessing modules (Jones MB)
  Keywords: module
  Date: Wed, 01 Oct 1997 14:12:17 GMT
  From: Michael K. Johnson <johnsonm@redhat.com>

There's a whole huge section of the KHG on writing device drivers. Register a character device driver and use either read()/write() or ioctl() to communicate between the user-level app and your module.