DOKK / manpages / debian 10 / publib-dev / stroverlap.3pub.en
STROVERLAP(3pub) C Programmer's Manual STROVERLAP(3pub)

stroverlap - check whether two strings overlap

#include <publib.h>
int stroverlap(const char *s, const char *t);

stroverlap checks whether the storage used by two strings overlap (i.e., if they even partially stored in the same place in memory).

stroverlap returns 0 for no overlap, nonzero for any overlap at all.

publib(3), memoverlap(3)

Lars Wirzenius (lars.wirzenius@helsinki.fi)

C Programmer's Manual Publib