summaryrefslogtreecommitdiff
path: root/gnu/libexec/uucp/libunix/splnam.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/splnam.c
initial import of NetBSD tree
Diffstat (limited to 'gnu/libexec/uucp/libunix/splnam.c')
-rw-r--r--gnu/libexec/uucp/libunix/splnam.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/libexec/uucp/libunix/splnam.c b/gnu/libexec/uucp/libunix/splnam.c
new file mode 100644
index 00000000000..06ce3605ce5
--- /dev/null
+++ b/gnu/libexec/uucp/libunix/splnam.c
@@ -0,0 +1,19 @@
+/* splnam.c
+ Get the full name of a file in the spool directory. */
+
+#include "uucp.h"
+
+#include "uuconf.h"
+#include "sysdep.h"
+#include "system.h"
+
+/* Get the real name of a spool file. */
+
+char *
+zsysdep_spool_file_name (qsys, zfile, pseq)
+ const struct uuconf_system *qsys;
+ const char *zfile;
+ pointer pseq;
+{
+ return zsfind_file (zfile, qsys->uuconf_zname, bsgrade (pseq));
+}