Lines Matching defs:write_f
39 static ssize_t (*write_f)(int, const void *, size_t);
177 if (write_f == NULL) {
178 write_f = dlsym(RTLD_NEXT, "write");
179 if (write_f == NULL) {
190 write_f(fd_tuple->snoop_in, buf, n) != n)
201 if (write_f == NULL) {
202 write_f = dlsym(RTLD_NEXT, "write");
203 if (write_f == NULL) {
211 return (write_f(fd, buf, nbytes));
213 if ((n = write_f(fd, buf, nbytes)) < 0 ||
214 write_f(fd_tuple->snoop_out, buf, n) != n)