Ttyou is a project mainly written in C, it's free.
tty on userspace linux kernel module
404: Not Found