Mapper
libraries
cbrfc
clrscn.c
Go to the documentation of this file.
1
#include <stdio.h>
2
#include <stdlib.h>
3
#include <math.h>
4
#include <string.h>
5
#include <fcio.h>
6
/* clrscn.f77
7
* subroutine to (1) clear screen
8
* (2) form feed printer
9
* rkh 8/91 */
10
11
void
clrscn
(jch)
12
long
int
*jch;
13
{
14
15
static
char
ceq[6];
16
static
char
cff;
17
18
cff=
'\f'
;
19
strcpy(ceq,
"clear"
);
20
21
if
(*jch == 1 || *jch == 6)
22
system
(ceq);
23
else
24
writef(*jch,
"(a)"
,
"%c \n"
,cff);
25
26
return
27
}
28
clrscn
void clrscn(long int *jch)
Definition:
clrscn.c:11
system
system(tarbuf)
Generated by
1.9.1