Home
last modified time | relevance | path

Searched refs:same_fd (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/test/
Dtest-fd-util.c60 TEST(same_fd) { in TEST() argument
69 assert_se(same_fd(p[0], p[0]) > 0); in TEST()
70 assert_se(same_fd(p[1], p[1]) > 0); in TEST()
71 assert_se(same_fd(a, a) > 0); in TEST()
72 assert_se(same_fd(b, b) > 0); in TEST()
74 assert_se(same_fd(a, p[0]) > 0); in TEST()
75 assert_se(same_fd(p[0], a) > 0); in TEST()
76 assert_se(same_fd(c, p[0]) > 0); in TEST()
77 assert_se(same_fd(p[0], c) > 0); in TEST()
78 assert_se(same_fd(a, c) > 0); in TEST()
[all …]
/systemd-251/src/basic/
Dfd-util.h65 int same_fd(int a, int b);
Dfd-util.c414 int same_fd(int a, int b) { in same_fd() function
/systemd-251/src/core/
Dservice.c438 r = same_fd(i->fd, fd); in service_add_fd_store()