9657 sendfile(3ext): off and EINVAL are not documented properly

Review Request #1134 — Created July 16, 2018 and submitted

marcel
illumos-gate
master
9657
fbacad0...
general
This updates the sendfile(3ext) man page to document that the function will
fail with EINVAL when there were fewer bytes transferred than were requested.
In addition, it is clarified that off is updated not only on the sendfile()
success, but always.
I reviewed the man page using the following command:

MANPATH=usr/src/man man sendfile
marcel
wiedi
  1. Ship It!
  2. 
      
kmays
  1. Ship It!
  2. 
      
marcel
Review request changed

Status: Closed (submitted)

Change Summary:

commit d3811b6fb7218c4fd6a4ecc171217022e137b5dc
Author:     Marcel Telka <marcel@telka.sk>
AuthorDate: Thu Jul 19 14:33:28 2018 +0200
Commit:     Dan McDonald <danmcd@joyent.com>
CommitDate: Fri Jul 20 11:46:02 2018 -0400

    9657 sendfile(3ext): off and EINVAL are not documented properly
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Sebastian Wiedenroth <wiedi@frubar.net>
    Approved by: Dan McDonald <danmcd@joyent.com>

:100644 100644 ade1b0dfeb 38f974987e M	usr/src/man/man3ext/sendfile.3ext
Loading...