Hey, for my Systems Programming course this semester, our prof has given us an assignment to create a Unix search program in C. Essentially, you give it a file name, go through each file, compare against it and return a true or false result. It also needs to search subdirectories.
However, naturally, we don't have anything in our text covering this...yay. So, what code would I use to a) cycle through a list of files and b) compare a string against a file name. Obviously, not asking you to write my program for me, I just need to know what to use in these instances. If you've got any resources for writing Unix programs in C, as well, please link them, as that's what the course is on.