summaryrefslogtreecommitdiff
path: root/gnu/libexec/uucp/libunix/ultspl.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
commitd6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch)
treeece253b876159b39c620e62b6c9b1174642e070e /gnu/libexec/uucp/libunix/ultspl.c
initial import of NetBSD tree
Diffstat (limited to 'gnu/libexec/uucp/libunix/ultspl.c')
-rw-r--r--gnu/libexec/uucp/libunix/ultspl.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/libexec/uucp/libunix/ultspl.c b/gnu/libexec/uucp/libunix/ultspl.c
new file mode 100644
index 00000000000..34921d22804
--- /dev/null
+++ b/gnu/libexec/uucp/libunix/ultspl.c
@@ -0,0 +1,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;
+}