Path: utzoo!mnetor!uunet!husc6!rutgers!topaz.rutgers.edu!ron From: ron@topaz.rutgers.edu (Ron Natalie) Newsgroups: comp.unix.wizards Subject: Re: /dev/tty doesn't exist? Message-ID: <17254@topaz.rutgers.edu> Date: 3 Jan 88 20:27:39 GMT References: <445@minya.UUCP> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 10 Sure, /dev/tty works by redirecting the output to your controlling teletype. Network processes that don't explicitly use some feature like pty's, don't have a controlling teletype so /dev/tty doesn't mean anything. By the way, you have a real cute fprintf there that prints out the error number. Why not use perror, which does exactly what you did only printing the error in English. -Ron