Home
last modified time | relevance | path

Searched refs:out_fd (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/stdio-bridge/
Dstdio-bridge.c107 int r, in_fd, out_fd; in run() local
120 out_fd = STDOUT_FILENO; in run()
123 out_fd = SD_LISTEN_FDS_START; in run()
129 sd_is_socket(out_fd, AF_UNIX, 0, 0) > 0; in run()
158 r = sd_bus_set_fd(b, in_fd, out_fd); in run()
/systemd-251/src/test/
Dtest-copy.c56 _cleanup_close_ int in_fd = -1, out_fd = -1; in TEST() local
62 out_fd = mkostemp_safe(out_fn); in TEST()
63 assert_se(out_fd >= 0); in TEST()
66 assert_se(copy_file_fd("/a/file/which/does/not/exist/i/guess", out_fd, COPY_REFLINK) < 0); in TEST()
67 assert_se(copy_file_fd(in_fn, out_fd, COPY_REFLINK) >= 0); in TEST()
68 assert_se(lseek(out_fd, SEEK_SET, 0) == 0); in TEST()
70 assert_se(read(out_fd, buf, sizeof buf) == (ssize_t) strlen(text)); in TEST()
/systemd-251/src/libsystemd/sd-resolve/
Dsd-resolve.c177 static int send_died(int out_fd) { in send_died() argument
183 assert(out_fd >= 0); in send_died()
185 if (send(out_fd, &rh, rh.length, MSG_NOSIGNAL) < 0) in send_died()
225 int out_fd, in send_addrinfo_reply() argument
240 assert(out_fd >= 0); in send_addrinfo_reply()
277 if (sendmsg(out_fd, &mh, MSG_NOSIGNAL) < 0) in send_addrinfo_reply()
284 int out_fd, in send_nameinfo_reply() argument
297 assert(out_fd >= 0); in send_nameinfo_reply()
324 if (sendmsg(out_fd, &mh, MSG_NOSIGNAL) < 0) in send_nameinfo_reply()
330 static int handle_request(int out_fd, const Packet *packet, size_t length) { in handle_request() argument
[all …]