Has anyone out there ever used the scandir() function? I would really appreciate a program fragment that uses scandir (maybe to list all the filenames in a directory or something simple). Be sure to include the declarations - they're probably the reason I'm messing up. Please send me mail... Many thanks... - Sam Falkner