Messages in this thread | | | From | Linus Torvalds <> | Date | Wed, 20 Jan 2021 19:38:38 -0800 | Subject | Re: Splicing to/from a tty |
| |
On Wed, Jan 20, 2021 at 5:45 PM Al Viro <viro@zeniv.linux.org.uk> wrote: > > splice() triggers an error for seekable destination with O_APPEND and > with NULL off_out.
Ok, that's just broken.
> Same for splice() to socket with > fcntl(sock_fd, F_SETFL, O_APPEND); > done first.
Same.
As long as you don't pass a position pointer, I think both should just work.
Not that I imagine it matters for a lot of people..
Linus
Linus
| |