RSY
RSY

Reputation: 51

File name with wildcard entry in C on linux

I want to read a file with wild cards in C which should run on Linux. I have files such as out*.txt files where * can be any 1/2 digits. I want to read all these files.

Upvotes: 0

Views: 2278

Answers (1)

holygeek
holygeek

Reputation: 16185

You can use the glob function from glob.h

Upvotes: 1

Related Questions