Correct.
> In that case, the wording of the manpage needs to be changed, as it
> implies that 'either or both' of the filedescriptors can be sockets.
Its quite clear.
DESCRIPTION
This call copies data between file descriptor and another
file descriptor or socket. in_fd should be a file
descriptor opened for reading. out_fd should be a
descriptor opened for writing or a connected socket.
in_fd must be a file, out_fd can be a file or socket.
-Dan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/