History log of /freebsd-10.2-release/lib/libc/sys/sendfile.2
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 285830 23-Jul-2015 gjb

- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
builds.
- Update newvers.sh to reflect RC1.
- Update __FreeBSD_version to reflect 10.2.
- Update default pkg(8) configuration to use the quarterly branch.[1]

Discussed with: re, portmgr [1]
Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 243015 14-Nov-2012 kevlo

Document that sendfile(2) can fail with ENOBUFS.

Reviewed by: glebius


# 233648 29-Mar-2012 eadler

Remove trailing whitespace per mdoc lint warning

Disussed with: gavin
No objection from: doc
Approved by: joel
MFC after: 3 days


# 201760 07-Jan-2010 kib

Further fix grammar.

Suggested by: alc
MFC after: 3 days


# 201759 07-Jan-2010 brueffer

Fix a typo and bump date for the previous commit.


# 201743 07-Jan-2010 kib

Give some information on SF_MNOWAIT flag.

MFC after: 3 days


# 175941 03-Feb-2008 phk

Give sendfile(2) a SF_SYNC flag which makes it wait until all mbufs
referencing the files VM pages are returned from the network stack,
making changes to the file safe.

This flag does not guarantee that the data has been transmitted to the
other end.


# 164584 24-Nov-2006 yar

Note that, thanks to the work by Alan Cox et al, some arch'es
don't need sendfile() buffers any more.

The report on the work referenced can be found at
http://usenix.org/events/usenix05/tech/general/elmeleegy.html

MFC after: 1 week


# 152551 17-Nov-2005 ru

-mdoc sweep.


# 151896 31-Oct-2005 jkoshy

Document the fact that sendfile(2) can EOPNOTSUPP if the underlying
filesystem for the file being transferred doesn't support UIO_NOCOPY.

Reported by: Niki Denev <nike_d@cytexbg.com>


# 151895 31-Oct-2005 jkoshy

Sort error list.


# 140081 11-Jan-2005 ru

Scheduled mdoc(7) sweep.


# 136660 18-Oct-2004 yar

Since sendfile(2) works on regular files only,
which have no negative offsets, "negative" and
"invalid" are equivalent WRT the offset argument.

Suggested by: bde


# 136590 16-Oct-2004 yar

Improve mdoc(7) markup.


# 136589 16-Oct-2004 yar

Give details on what will happen if the `offset' argument
to sendfile(2) falls beyond the end of file.

Touch .Dd.

PR: bin/72649 (in the audit trail)
MFC after: 1 week


# 131365 30-Jun-2004 ru

Markup, grammar, and spelling fixes.


# 130865 21-Jun-2004 mpp

Spelling fixes.


# 125587 08-Feb-2004 silby

Document the SF_NODISKIO flag, and fix a small typo.


# 123968 29-Dec-2003 maxim

Describe kern.ipc.nsfbufsused and kern.ipc.nsfbufspeak.

Reviewed by: silby


# 123094 01-Dec-2003 dg

Fixed a bug in sendfile(2) where the sent data would be corrupted due
to sendfile(2) being erroneously automatically restarted after a signal
is delivered. Fixed by converting ERESTART to EINTR prior to exiting.

Updated manual page to indicate the potential EINTR error, its cause
and consequences.

Approved by: re@freebsd.org


# 115225 22-May-2003 ru

Assorted mdoc(7) fixes.

Approved by: re (blanket)


# 112134 12-Mar-2003 seanc

Update sendfile.2 to include a TUNING section that documents the
various tunables that are applicable to sendfile(2). Update tuning.7
to mention a reference to sendfile.2.

Approved by: keramida


# 108087 19-Dec-2002 ru

mdoc(7) police: "The .Fa argument.".


# 108028 18-Dec-2002 ru

mdoc(7) police: Tidy up the syscall language.

Stop calling system calls "function calls".

Use "The .Fn system call" a-la "The .Nm utility".

When referring to a non-BSD implementation in
the HISTORY section, call syscall a function,
to be safe.


# 85555 26-Oct-2001 ru

Remove the internal implementation details of wrapping syscalls,
which do not match the reality anyway.

Approved by: deischen, bde


# 84306 01-Oct-2001 ru

mdoc(7) police: Use the new .In macro for #include statements.


# 81352 09-Aug-2001 yar

Use the ``.Rv -std'' mdoc(7) macro in appropriate cases.

Reviewed by: ru


# 71978 04-Feb-2001 mckay

Spelling.


# 68716 14-Nov-2000 ru

Use Fx macro wherever possible.


# 60695 19-May-2000 chris

Remove a superfluous `.Pp' occuring directly after
`.Sh IMPLEMENTATION NOTES'.


# 60694 19-May-2000 chris

Add a note under IMPLEMENTATION NOTES about the behavior of sendfile()
in the threaded library.


# 59460 21-Apr-2000 phantom

Introduce ".Lb" macro to libc manpages.

More libraries manpages updates following.


# 57686 02-Mar-2000 sheldonh

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


# 50476 28-Aug-1999 peter

$Id$ -> $FreeBSD$


# 49828 15-Aug-1999 mpp

Various man page cleanup:

- Sort xrefs
- FreeBSD.ORG -> FreeBSD.org
- Be consistent with section names as outlines in mdoc(7)
- Other misc mdoc cleanup.

PR: doc/13144
Submitted by: Alexy M. Zelkin <phantom@cris.net>


# 49108 26-Jul-1999 sheldonh

Correct HISTORY section, according to CVS logs.

PR: 12810
Submitted by: Alex Perel <veers@disturbed.net>


# 40972 06-Nov-1998 dg

Added info about non-blocking support.


# 40933 05-Nov-1998 dg

Added a manual page for sendfile(2).