1: # include   <stdio.h>
   2: 
   3: # include   "../ingres.h"
   4: # include   "../aux.h"
   5: # include   "monitor.h"
   6: 
   7: /*
   8: **  Clear query buffer
   9: **	Flag f is set if called explicitly (with \q) and is
  10: **	clear if called automatically.
  11: **
  12: **	Uses trace flag 3
  13: */
  14: 
  15: clear(f)
  16: {
  17:     Autoclear = 0;
  18: 
  19:     /* TRUNCATE FILE & RETURN */
  20:     if (freopen(Qbname, "w", Qryiop) == NULL)
  21:         syserr("clear: open");
  22:     if (Nodayfile >= 0 && f)
  23:         printf("\07go\n");
  24:     if (f)
  25:         clrline(0);
  26:     Notnull = 0;
  27: }

Defined functions

clear defined in line 15; used 2 times
Last modified: 1995-02-04
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1767
Valid CSS Valid XHTML 1.0 Strict