1/* isdir.c
2   See whether a file exists and is a directory.  */
3
4#include "uucp.h"
5
6#include "system.h"
7#include "sysdep.h"
8
9boolean
10fsysdep_directory (z)
11     const char *z;
12{
13  struct stat s;
14
15  if (stat ((char *) z, &s) < 0)
16    return FALSE;
17  return S_ISDIR (s.st_mode);
18}
19