Home | History | Annotate | Download | only in sh

Lines Matching refs:tracefile

269 FILE *tracefile;
278 putc(c, tracefile);
291 (void) vfprintf(tracefile, fmt, va);
302 (void) vfprintf(tracefile, fmt, va);
313 fputs(s, tracefile);
325 putc('"', tracefile);
338 backslash: putc('\\', tracefile);
339 putc(c, tracefile);
343 putc(*p, tracefile);
345 putc('\\', tracefile);
346 putc(*p >> 6 & 03, tracefile);
347 putc(*p >> 3 & 07, tracefile);
348 putc(*p & 07, tracefile);
353 putc('"', tracefile);
367 putc(' ', tracefile);
369 putc('\n', tracefile);
385 if (tracefile)
386 fflush(tracefile);
405 if (tracefile) {
406 if (!freopen(s, "a", tracefile)) {
412 if ((tracefile = fopen(s, "a")) == NULL) {
419 if ((flags = fcntl(fileno(tracefile), F_GETFL, 0)) >= 0)
420 fcntl(fileno(tracefile), F_SETFL, flags | O_APPEND);
422 setlinebuf(tracefile);
423 fputs("\nTracing started.\n", tracefile);