#if !defined(lint) && defined(SCCSIDS) static char sccsid[] = "@(#)chkpath.h 1.1 94/10/31 SMI"; #endif /* * return ENOENT if they handed us "" */ # include # include # include # define CHK(p) if ((p) != (char*)0 && *(p) == 0) { \ errno = ENOENT; \ return -1; \ } extern int syscall(); extern errno;