Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!think.com!linus!linus!snkoil.mitre.org!dean From: dean@snkoil.mitre.org (Dean Cookson) Newsgroups: comp.unix.questions Subject: File types Message-ID: <127561@linus.mitre.org> Date: 4 Jan 91 16:42:46 GMT References: <25397@adm.brl.mil> Sender: usenet@linus.mitre.org Organization: MITRE Corp., Bedford Ma. Lines: 7 Nntp-Posting-Host: snkoil.mitre.org Anyone know any easy way for a program to check if the argument it was given as an input file is a directory?? I've been using stat, but whatever more uses seems faster. Thanks, Dean dean@snkoil.mitre.org