memoverlap man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

MEMOVERLAP(3)		     C Programmer's Manual		 MEMOVERLAP(3)

NAME
       memoverlap - check whether two memory blocks overlap

SYNOPSIS
       #include <publib.h>
       int memoverlap(const void *t, size_t ts, const void *s, size_t ss);

DESCRIPTION
       memoverlap checks whether the memory blocks t--(t+ts-1) and s--(s+ss-1)
       overlap.	 Neither pointer argument may be NULL, but the sizes may be 0.
       The  memory blocks can be arbitrary, they do not have to be part of the
       same array.  Therefore, this function hides the unportable pointer com‐
       parison that one would otherwise rely on.

RETURN VALUE
       memoverlap  returns 0 if the blocks do not overlap, and nonzero if they
       do.

SEE ALSO
       publib(3)

AUTHOR
       Lars Wirzenius (lars.wirzenius@helsinki.fi)

Publib			     C Programmer's Manual		 MEMOVERLAP(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net