• Jens Axboe's avatar
    [PATCH] splice: add support for sys_tee() · 70524490
    Jens Axboe authored
    Basically an in-kernel implementation of tee, which uses splice and the
    pipe buffers as an intelligent way to pass data around by reference.
    
    Where the user space tee consumes the input and produces a stdout and
    file output, this syscall merely duplicates the data inside a pipe to
    another pipe. No data is copied, the output just grabs a reference to the
    input pipe data.
    Signed-off-by: default avatarJens Axboe <axboe@suse.de>
    70524490
unistd.h 14.4 KB