# 2.11BSD#431 - /usr/ingres/source/monitor/clear.c

##### Functions

    clear             X

       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

- in /usr/ingres/source/monitor/monitor.c line 138, 262

Last modified: 1995-02-04 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 922 |