logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

stroverlap - check whether two strings overlap

Author

       Lars Wirzenius (lars.wirzenius@helsinki.fi)

Publib                                        C Programmer's Manual                             STROVERLAP(3pub)

Description

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

Name

       stroverlap - check whether two strings overlap

Return Value

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

See Also

publib(3), memoverlap(3)

Synopsis

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

See Also