35 #include <sys/socket.h>
48 static int socketpair_ok_errors[] = {
59 while ((ret = socketpair(domain, type, protocol, result)) < 0) {
60 for (count = 0; ; count++) {
61 if ((err = socketpair_ok_errors[count]) == 0)
64 msg_warn(
"socketpair: %m (trying again)");
int sane_socketpair(int domain, int type, int protocol, int *result)
void msg_warn(const char *fmt,...)