version 1.5, 1998/08/18 04:02:10 |
version 1.6, 1999/03/03 20:43:30 |
|
|
if (cc != sizeof (msg)) { |
if (cc != sizeof (msg)) { |
if (errno == EINTR) |
if (errno == EINTR) |
continue; |
continue; |
p_error("Error on write to talk daemon"); |
quit("Error on write to talk daemon", 1); |
} |
} |
read_mask = ctl_mask; |
read_mask = ctl_mask; |
nready = select(32, &read_mask, 0, 0, &wait); |
nready = select(32, &read_mask, 0, 0, &wait); |
if (nready < 0) { |
if (nready < 0) { |
if (errno == EINTR) |
if (errno == EINTR) |
continue; |
continue; |
p_error("Error waiting for daemon response"); |
quit("Error waiting for daemon response", 1); |
} |
} |
} while (nready == 0); |
} while (nready == 0); |
/* |
/* |
|
|
if (cc < 0) { |
if (cc < 0) { |
if (errno == EINTR) |
if (errno == EINTR) |
continue; |
continue; |
p_error("Error on read from talk daemon"); |
quit("Error on read from talk daemon", 1); |
} |
} |
read_mask = ctl_mask; |
read_mask = ctl_mask; |
/* an immediate poll */ |
/* an immediate poll */ |