On Tue, Sep 01, 2020 at 08:01:31PM +0100, Sami Kerola wrote: > A read() write() pair can be replaced with sendfile(), and it should be more > efficient than suffling bytes back and forth user and kernel space. Good idea, but not sure how portable is it to another OS. Maybe add a fallback to include/fileutils.h or mark nologin by "if LINUX" in the Makefile. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com