This function waits for the PPP connection to terminate. The link may be terminated with a call to cyg_ppp_down(), by the remote end, or by the telephone line being dropped or lost.
This function has no return value. If the PPP connection is not running, or has terminated, it will return. Applications should use cyg_ppp_wait_up() to test the link state.