No description
Find a file
2024-07-24 12:38:32 +02:00
fproxy.c fproxy.c: fix retry on copy fallback 2024-07-24 12:38:32 +02:00
LICENSE LICENSE: add GPL 3 license 2024-07-23 16:25:29 +02:00
README.md README.md: add help to README 2024-07-24 12:21:23 +02:00

fproxy

Create a proxy file, redirecting writes to the standard output.

fproxy uses linux's splice() system call to achieve zero-copy redirection, falling back on a naive read()/write() copy implementation if splice() is not supported.

$ fproxy -h
Usage: fproxy [OPTION] FILE
Create a proxy file and redirect the writes to standard output

  -e        Print to standard error
  -o        Print to standard output (default)
  -i        Do not redirect writes to the proxy file to the standard output,
            but send the standard input to it instead
  -b=SIZE   Set the buffer size. Kernel limits may still apply
  -h        Print this help