]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - gnu/libexec/uucp/libunix/failed.c
This commit was generated by cvs2svn to compensate for changes in r53654,
[FreeBSD/FreeBSD.git] / gnu / libexec / uucp / libunix / failed.c
1 /* failed.c
2    Save a file in the .Failed directory.  */
3
4 #include "uucp.h"
5
6 #include "sysdep.h"
7 #include "uudefs.h"
8 #include "system.h"
9
10 char *
11 zsysdep_save_failed_file (zfile)
12      const char *zfile;
13 {
14   char *zto;
15
16   zto = zsappend3 (zSspooldir, FAILEDDIR, zfile);
17
18   if (! fsysdep_move_file (zfile, zto, TRUE, FALSE, FALSE,
19                            (const char *) NULL))
20     {
21       ubuffree (zto);
22       return NULL;
23     }
24
25   return zto;
26 }