943,693 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 4993
  • C RSS
Feb 3rd, 2007
0

C File Functions

Expand Post »
Hi everybody. In C running in the Unix environment, there are many ways of getting the directory listing. One I know is to use the ftw library (the way I currently implement it), the other is to pipe from the ls, also sometimes you could use dirent.h. I realize that this is an OS dependent thing. If somebody knows an the easier way to get a list of files or directories in C please share (Yes, I googled this. However, I did not find anything I did not already know).
Similar Threads
Reputation Points: 10
Solved Threads: 1
Posting Pro in Training
MIGSoft is offline Offline
472 posts
since Jul 2005
Feb 3rd, 2007
0

Re: C File Functions

Something like this ?
Super Moderator
Featured Poster
Reputation Points: 3233
Solved Threads: 719
Failure as a human
~s.o.s~ is offline Offline
8,871 posts
since Jun 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: starting a calculator program in C
Next Thread in C Forum Timeline: new member: have an assignment.. pls help!





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC