summaryrefslogtreecommitdiff
path: root/gnu/libexec/uucp/libunix/ultspl.c
blob: 34921d2280461d22f06312aef1724ffadc2cb5ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ultspl.c
   See whether there is an Ultrix spool directory for a system.  */

#include "uucp.h"

#include "uudefs.h"
#include "sysdep.h"
#include "system.h"

boolean
fsultrix_has_spool (zsystem)
     const char *zsystem;
{
  char *z;
  boolean fret;

  z = zsysdep_in_dir ("sys", zsystem);
  fret = fsysdep_directory (z);
  ubuffree (z);
  return fret;
}