S
Sabari
Hi all,
May i want c coding for ls command did any one help?.
Thanks in advanced.
May i want c coding for ls command did any one help?.
Thanks in advanced.
Sabari said:Hi all,
May i want c coding for ls command did any one help?.
Thanks in advanced.
Sabari said:Hi all,
May i want c coding for ls command did any one help?.
Thanks in advanced.
Sabari said:May i want c coding for ls command did any one help?.
Zero said:Could you be more precise?
arun said:Please read the manual pages for the opendir() and readdir().
You can use these functions for a simple implementation of the ls
command.
Robert said:opendir and readdir are not Standard C functions and are thus off-topic
here. Since most implementations of ls (including are those conforming
to POSIX) perform significantly more operations than can be
accomplished with these two functions and the OP didn't ask about
implementing a specific part of the command I doubt your suggestion
would be of much use, even if it was on-topic.
Robert Gamble
arun said:I dont think we can use only standard C functions for implementing a
command like ls.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.