The result is correct, even when both areas overlap.
For an explanation of the terms used in this section, see
This function is deprecated (marked as LEGACY in POSIX.1-2001): use
in new programs.
Note that the first two arguments
are interchanged for
POSIX.1-2008 removes the specification of
This page is part of release 4.04 of the Linux
A description of the project,
information about reporting bugs,
and the latest version of this page,
can be found at