Date: Tue, 10 Oct 1995 05:49:13 +1000 From: Bruce Evans <bde@zeta.org.au> To: imp@village.org, stu@cisco.com Cc: hackers@freebsd.org, pst@cisco.com Subject: Re: FleeBSD and XNTPD Message-ID: <199510091949.FAA21844@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>: if (ioctl(rio->fd, TIOCSPGRP, (char*)&pgrp) == -1) {
>: syslog(LOG_ERR, "ioctl(TIOCSPGRP) fails for clock I/O: %m");
>: return 1;
>: }
>You are trying to set the process group of the terminal. This has
>nothing to do with async I/O. The F_SETOWN does, however. I'm
>surprised that that didn't work.
F_SETOWN and TIOCSPGRP do exactly the same thing for ttys. They both
specify the process that will obtain async notifications of i/o if such
notifications are enabled.
Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510091949.FAA21844>
