Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

looping through a directory?

Status
Not open for further replies.

iamwomble

Technical User
Jan 20, 2003
1
GB
i have just start programming in C in UNIX and i need to loop through directory of files opening eveyone as i go.
can anyone help?

cheers in advance

womble
 
Code:
man 3 opendir
man 3 readdir
man 3 closedir
man 3 fopen
These commands should give you a basic idea of how to do it. //Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top