Hi, How can I make out if a file is binary or text given its path? Is there a system call which will help me through this? Note that I don't want to test if a file is block special, char special etc. All I want is if a given file is binary or text. Thanks in advance. Satheesh