how to open all the files from a directory

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

Viewing 0 reply threads
  • Author
    Posts
    • #2071
      raji
      Participant

      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

Viewing 0 reply threads
  • You must be logged in to reply to this topic.