Lines Matching refs:fd

46 #define XFWRITE(string, length, fd) {if (fwrite(string, 1, length, fd) == 0) \
48 #define XPUTC(ch, fd) { \
49 if (putc((int) ch, fd) == EOF) \
52 #define XFPUTS(string, fd) fputs(string, fd)
96 static void print_auto_depes(register Dependency dependency, register FILE *fd, register Boolean built_this_run, register int *line_length, register char *target_name, jmp_buf long_jump);
123 register FILE *fd;
169 if ((fdes < 0) || (fd = fdopen(fdes, "w")) == NULL) {
187 if ((fd = fopen(make_state_tempfile, "w")) == NULL) {
202 (void) fclose(fd);
216 if ((fdes < 0) || (fd = fdopen(fdes, "w")) == NULL) {
228 fd);
229 XPUTC(colon_char, fd);
230 XPUTC(tab_char, fd);
233 fd);
234 XPUTC(newline_char, fd);
280 fd);
281 XPUTC(colon_char, fd);
282 XPUTC(newline_char, fd);
293 XFPUTS(target_name, fd);
294 XPUTC(colon_char, fd);
295 XFPUTS("\t", fd);
303 fd,
309 XFPUTS("\n", fd);
318 XFPUTS(target_name, fd);
319 XPUTC(colon_char, fd);
320 XPUTC(newline_char, fd);
332 XPUTC(tab_char, fd);
342 XPUTC(*csp, fd);
346 fd);
350 XPUTC(newline_char, fd);
356 if (fclose(fd) == EOF) {
395 * print_auto_depes(dependency, fd, built_this_run,
402 * fd The file to print it to
413 print_auto_depes(register Dependency dependency, register FILE *fd, register Boolean built_this_run, register int *line_length, register char *target_name, jmp_buf long_jump)
422 fd);
429 XPUTC(newline_char, fd);
431 XFPUTS(built_last_make_run->string_mb, fd);
432 XPUTC(colon_char, fd);
433 XPUTC(newline_char, fd);
435 XFPUTS(target_name, fd);
436 XPUTC(colon_char, fd);
437 XPUTC(tab_char, fd);
439 XFPUTS(" ", fd);