The HyperNews Linux KHG Discussion Pages

Idea: use buffers!

Forum: The Linux Kernel Hackers' Guide
Re: Question writing/accessing modules (Jones MB)
Re: Feedback Use a device driver and read()/write()/ioctl() (Michael K. Johnson)
Re: Question getting to the kernel's memory (Jones MB)
Keywords: module memory
Date: Fri, 27 Feb 1998 13:27:39 GMT
From: Rubens <>

If you use a module with read() and write() functions, use the buffers that each functions has. Example: when you write to the module, the read() function is called. read() stores the received data in your buffer. Don't create and allocate variables, tranfer your data through buffers. If you have questions, please send e-mail.