1: # include   "../ingres.h"
   2: # include   "../aux.h"
   3: # include   "../symbol.h"
   4: # include   "../access.h"
   5: # include   "../batch.h"
   6: 
   7: rmbatch()
   8: {
   9:     char        *batchname();
  10:     register char   *p;
  11:     register int    i;
  12: 
  13:     p = batchname();
  14:     if (i = close(Batch_fp))
  15:         syserr("rmbatch:can't close %s %d", p, i);
  16:     if (i = unlink(p))
  17:         syserr("rmbatch:can't unlink %s %d", p, i);
  18:     Batchhd.mode_up = 0;
  19:     return (0);
  20: }
  21: 
  22: char *
  23: batchname()
  24: {
  25:     extern char *Fileset;
  26:     char        *ztack();
  27: 
  28:     return(ztack("_SYSbatch", Fileset));
  29: }
Last modified: 1995-02-12
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2133
Valid CSS Valid XHTML 1.0 Strict