Very simple doubt regarding modules..

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

 



 Hi,

  I am very new to module programming... I am creating /proc file. I am 
able to create a proc file using the system call

 create_proc_entry(file_name,flags,NULL);

  I know that we need to provide the fuctions for writing and reading that 
file and we need to use 
 
 struct file_operations;

  
  But what i am not getting is, which system call do i need to call to 
associate fileoperations with the proc file I created.

  expecting an urgent reply....

 thanks,
raghu

--
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