Re: Re: query related to /proc and read_write.c file

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

 



On 28 Apr 2004, bunty  wrote:
>let me explain you what exactly i want. i want to read and write
> to /proc entry file that i created in /proc after Praveen help me how to
>create proc entry.My questio whether i can use read and write and open
>funcion calls on /proc entry to update its contents if not can you tell
>me how can i acheive it?

do you mean to write to it from user space or kernel space.
from user space you can. e.g. `echo value > /proc/your_entry`

regards
gabor



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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