The HyperNews Linux KHG Discussion Pages
Next-in-Thread Next Message Previous Message Next Thread

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 <mytsplick@hotmail.com>

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.

RUBENS

Next-in-Thread Next Message Previous Message Next Thread

to: "use buffers!"

Subscribe Membership Move/Remove Admin Mode Show Frames Help for HyperNews 1.9.4