One way is just to test for each one. Or if u want to test the input to see if it's a file then try to open the argument name using fopen() and see if it returns NULL.
Type: Posts; User: Nutshell
One way is just to test for each one. Or if u want to test the input to see if it's a file then try to open the argument name using fopen() and see if it returns NULL.