Re: writing in file from kernel space

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

 



>
>hi all , ,
>
>as the library function  like fopen  , fwrite are not available in >kernel
>space . so if i want to write some data in a file  from a kernel >module
>( actually it is a serial mouse driver ), how it can be done ?
>
>thanks,
>
>Regards ,
>
>pankaj chauhan
>

  Hi Pankaj.

  In the Unix like systems, the files are managed through the 
functions named 'system calls'. You can search information
about this functions through Internet.

  There are a system calls named read() and write() and many
others related with the files manage.

  Take a first look at this, located with Google:

      http://www.cs.rpi.edu/~ingallsr/os/mod8.3.html

  Hope this be useful for you.

  Very good luck.

  Regards.
 
  Jose.


http://linuxespana.scripterz.org

FreeBSD RELEASE 4.8.
Mandrake Linux 9.1 Kernel 2.5.73 XFS.
Registered Linux User #213309.
Memories..... You are talking about memories.
Rick Deckard. Blade Runner.

Obtenga su E-mail GRATUITO en http://www.zonalinux.com
____________________________________________________________
Para obtener su propio servicio de correo electrónico basado en la Multimalla, diríjase a http://www.zzn.com
--
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