ttyhook_register
error = ttyhook_register(&ss->snp_tty, td->td_proc,
error = ttyhook_register(&sc->tp, p, ((int *)msg->data)[1],
int ttyhook_register(struct tty **, struct proc *, int,