Hi All, Is there any way to distinguish whether a file being opened is an ordinary file or a directory using the information passed to the open system call? Thanks Krishna __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail