pub fn verify_tty_owner(path: &str, uid: u32) -> Result<(), TtyError>
Verifies that path is a character device in /dev/ owned by uid.
path
/dev/
uid