> Are you sure of this? I'm pretty sure it's one of the "if detected" > errors. Of course I checked the standard before making authoritative claims about its contents, silly. See 1003.1-1996 5.1.2.4, p 116. The only "if detected" errors listed for `opendir' are EMFILE and ENFILE. Listed as "if occur" errors are EACCES, ENAMETOOLONG, ENOENT, and ENOTDIR.