ack/mach/sparc/ce/back.src/do_open.c
1991-09-27 14:58:31 +00:00

16 lines
265 B
C

#include "header.h"
open_back( filename)
char *filename;
{
if ( filename == (char *) 0)
codefile= STDOUT;
else
#ifndef sys_close
return( sys_open( filename, OP_WRITE, &codefile));
#else
return (codefile = fopen(filename, "w")) != NULL;
#endif
return 1;
}