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 10char * 11zsysdep_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} 27