Re: O_ASYNC question
William Lee Irwin III (wli@holomorphy.com)
Wed, 26 Jun 2002 14:11:22 -0700
On Tue, Jun 25, 2002 at 11:30:52AM -0500, Amos Waterland wrote:
> The man page for fcntl() says:
> If you set the O_ASYNC status flag on a file descriptor (either by
> providing this flag with the open(2) call, or by using the F_SETFL
> command of fcntl), a SIGIO signal is sent whenever input or output
> becomes possible on that file descriptor.
Not done for files and you need fsetown() for sockets and tty's.
Cheers,
Bill
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/