Searched refs:fscript (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/usr.bin/tip/tip/
H A Dtipout.c90 if (boolean(value(SCRIPT)) && fscript != NULL)
91 fclose(fscript);
96 if ((fscript = fopen(line, "a")) == NULL)
110 if (boolean(value(SCRIPT)) && fscript != NULL)
111 fclose(fscript);
171 if (boolean(value(SCRIPT)) && fscript != NULL) {
173 fwrite(buf, 1, cnt, fscript);
178 putc(*cp, fscript);
182 fflush(fscript);
H A Dtip.h247 EXTERN FILE *fscript; /* FILE for scripting */ variable
/freebsd-11-stable/usr.bin/script/
H A Dscript.c71 static FILE *fscript; variable
157 if ((fscript = fopen(fname, pflg ? "r" : aflg ? "a" : "w")) == NULL)
175 playback(fscript);
190 record(fscript, NULL, 0, 's');
196 (void)fprintf(fscript, "Script started on %s",
200 fprintf(fscript, "Command: ");
202 fprintf(fscript, "%s%s", k ? " " : "",
204 fprintf(fscript, "\n");
207 fflush(fscript);
273 record(fscript, ibu
[all...]

Completed in 110 milliseconds