Question about I_SENDFD

From: Andrey G. Kaplanov (
Date: Thu Sep 07 2000 - 04:51:24 EST

Respected colleagues!
In advanced Unix systems, including SCO UnixWare, SUN OS
there is a facility of transmission of descriptor of openning file
through stream, by means of the command ioctl I_SENDFD.
For instance, following command writes transDsc descriptor to the stream streamDsc.
    int ret = ioctl(streamDsc, I_SENDFD, transDsc);
On Red Hat Linux kernel 2.2.16 ret is -1, errno is 22 - Invalid argument.
That is here done not so, or be other ways of transmission of file descriptor between processes?

Andrey Kaplanov.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:29 EST