how to open all the files from a directory

Home Forums C Programming how to open all the files from a directory

This topic contains 0 replies, has 1 voice, and was last updated by  raji 10 years, 9 months ago.

  • Author
    Posts
  • #2071

    raji
    Member

    Hello Team,

    Please let me know how to open all the files from a directory in c program. Currently,I am openning single file like this :#define PARAM_PATH             
    “/usr/local/share/contracts/files/”wFileHdl = open( PARAM_PATH, O_RDWR ); But I want to open all files one by one in that dir.Any inputs are highly appreciate.Pls suggest me!

    Thanks in advance !RegardsManish

You must be logged in to reply to this topic.

Share
Tweet
Share
Pin
+1