Lines Matching refs:fd
45 #define WRITE_STRING(s) write (fd, s, strlen (s))
55 write_strsignal (int fd, int signal) in write_strsignal() argument
60 write (fd, ptr, &buf[sizeof (buf)] - ptr); in write_strsignal()
70 int fd, cnt, i; in catch_segfault() local
77 fd = 2; in catch_segfault()
80 fd = open (fname, O_TRUNC | O_WRONLY | O_CREAT, 0666); in catch_segfault()
81 if (fd == -1) in catch_segfault()
82 fd = 2; in catch_segfault()
86 write_strsignal (fd, signal); in catch_segfault()
114 __backtrace_symbols_fd (arr + i, cnt - i, fd); in catch_segfault()
121 write (fd, "\nMemory map:\n\n", 14); in catch_segfault()
127 TEMP_FAILURE_RETRY (write (fd, buf, n)); in catch_segfault()