while i was using splice system call for copy one file to another,
I got the error is given below:
splice() (from) failed: Invalid argument
After open the files,
retval = splice(relay_fd, NULL, pipe_fd, NULL, 128, SPLICE_F_MOVE);
If you have any idea, please help me.