[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: af_alg: what if sendfile fails?
From: |
Bruno Haible |
Subject: |
Re: af_alg: what if sendfile fails? |
Date: |
Mon, 25 Jun 2018 02:38:40 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-128-generic; KDE/5.18.0; x86_64; ; ) |
Pádraig Brady wrote:
> I looked into this last night.
> My reading was if &off is specified, the offset remains unchanged.
>
> "If offset is not NULL, then sendfile()
> does not modify the file offset of in_fd;"
>
> So it doesn't look like this is required.
Thanks. I agree.
And since we both were unsure about it, it's worth a comment. I'll add one.
Bruno