wait_for_hangup
static int wait_for_hangup(), expect_str();
if (wait_for_hangup(fn) == FAIL) {
static int wait_for_hangup(int);