Searched refs:out_fd (Results 1 - 4 of 4) sorted by relevance
/systemd/src/test/ |
H A D | test-copy.c | 65 _cleanup_close_ int in_fd = -1, out_fd = -1; local 71 out_fd = mkostemp_safe(out_fn, O_RDWR); 72 assert_se(out_fd >= 0); 75 assert_se(copy_file_fd("/a/file/which/does/not/exist/i/guess", out_fd, true) < 0); 76 assert_se(copy_file_fd(in_fn, out_fd, true) >= 0); 77 assert_se(lseek(out_fd, SEEK_SET, 0) == 0); 79 assert_se(read(out_fd, buf, sizeof(buf)) == sizeof(text) - 1);
|
/systemd/src/bus-proxyd/ |
H A D | proxy.h | 58 int proxy_new(Proxy **out, int in_fd, int out_fd, const char *dest);
|
H A D | proxy.c | 227 int proxy_new(Proxy **out, int in_fd, int out_fd, const char *destination) { argument 241 safe_close(out_fd); 246 p->local_out = out_fd; 253 sd_is_socket(out_fd, AF_UNIX, 0, 0) > 0;
|
/systemd/src/libsystemd/sd-resolve/ |
H A D | sd-resolve.c | 181 static int send_died(int out_fd) { argument 188 assert(out_fd >= 0); 190 if (send(out_fd, &rh, rh.length, MSG_NOSIGNAL) < 0) 229 int out_fd, 252 assert(out_fd >= 0); 276 if (sendmsg(out_fd, &mh, MSG_NOSIGNAL) < 0) 283 int out_fd, 303 assert(out_fd >= 0); 319 if (sendmsg(out_fd, &mh, MSG_NOSIGNAL) < 0) 325 static int handle_request(int out_fd, cons argument 228 send_addrinfo_reply( int out_fd, unsigned id, int ret, struct addrinfo *ai, int _errno, int _h_errno) argument 282 send_nameinfo_reply( int out_fd, unsigned id, int ret, const char *host, const char *serv, int _errno, int _h_errno) argument [all...] |
Completed in 1983 milliseconds