Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 12 of 12) sorted by relevance

/debug/
A Dpcprofile.c29 static int fd; variable
42 fd = open (outfile, O_RDWR | O_CREAT, 0666); in install()
44 if (fd != -1) in install()
53 if (TEMP_FAILURE_RETRY (write (fd, &word, 4)) != 4) in install()
56 close (fd); in install()
57 fd = -1; in install()
70 close (fd); in uninstall()
87 write (fd, buf, sizeof buf); in __cyg_profile_func_enter()
A Dread_chk.c27 __read_chk (int fd, void *buf, size_t nbytes, size_t buflen) in __read_chk() argument
33 return INLINE_SYSCALL (read, 3, fd, buf, nbytes); in __read_chk()
35 return __read (fd, buf, nbytes); in __read_chk()
A Dttyname_r_chk.c22 __ttyname_r_chk (int fd, char *buf, size_t buflen, size_t nreal) in __ttyname_r_chk() argument
27 return __ttyname_r (fd, buf, buflen); in __ttyname_r_chk()
A Dreadlinkat_chk.c23 __readlinkat_chk (int fd, const char *path, void *buf, size_t len, in __readlinkat_chk() argument
29 return readlinkat (fd, path, buf, len); in __readlinkat_chk()
A Drecv_chk.c23 __recv_chk (int fd, void *buf, size_t n, size_t buflen, int flags) in __recv_chk() argument
28 return __recv (fd, buf, n, flags); in __recv_chk()
A Dpread64_chk.c23 __pread64_chk (int fd, void *buf, size_t nbytes, off64_t offset, size_t buflen) in __pread64_chk() argument
28 return __libc_pread64 (fd, buf, nbytes, offset); in __pread64_chk()
A Dpread_chk.c23 __pread_chk (int fd, void *buf, size_t nbytes, off_t offset, size_t buflen) in __pread_chk() argument
28 return __pread (fd, buf, nbytes, offset); in __pread_chk()
A Dsegfault.c45 #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()
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()
[all …]
A Drecvfrom_chk.c23 __recvfrom_chk (int fd, void *buf, size_t n, size_t buflen, int flags, in __recvfrom_chk() argument
29 return __recvfrom (fd, buf, n, flags, addr, addr_len); in __recvfrom_chk()
A Dpcprofiledump.c92 int fd; in main() local
94 fd = STDIN_FILENO; in main()
104 fd = open (argv[remaining], O_RDONLY); in main()
106 if (fd == -1) in main()
113 if (TEMP_FAILURE_RETRY (read (fd, &word, 4)) != 4) in main()
136 && (n = TEMP_FAILURE_RETRY (read (fd, &pair.bytes[8 - len], in main()
163 && (n = TEMP_FAILURE_RETRY (read (fd, &pair.bytes[8 - len], in main()
181 close (fd); in main()
A Dbacktracesymsfd.c35 __backtrace_symbols_fd (void *const *array, int size, int fd) in __backtrace_symbols_fd() argument
117 __writev (fd, iov, last); in __backtrace_symbols_fd()
A Dtst-chk1.c1581 int fd = posix_openpt (O_RDWR); in do_test() local
1582 if (fd != -1) in do_test()
1585 if (ptsname_r (fd, enough, sizeof (enough)) != 0) in do_test()
1591 if (ptsname_r (fd, smallbuf, sizeof (smallbuf) + 1) == 0) in do_test()
1595 close (fd); in do_test()
1619 fd = open (_PATH_TTY, O_RDONLY); in do_test() local
1620 if (fd != -1) in do_test()
1623 if (ttyname_r (fd, enough, sizeof (enough)) != 0) in do_test()
1629 if (ttyname_r (fd, smallbuf, sizeof (smallbuf) + 1) == 0) in do_test()
1633 close (fd); in do_test()
[all …]

Completed in 16 milliseconds