linux system calls

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

 



how can i read derectory contents
 using old_readdir  system call

  *this is for kernel programming (to develop msdos
like shell)
  *i want to develop ls command in init/main.c
   file

   please help me
   plaese help me


   i  want to develop this type of function

   char *x(char *dirname)
   {

     ??

  }

   /* Directory contents */

   printk(x("/usr"));


__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.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