mem_cmp() is only used within FatFs.
 
Symbols
loading...
Files
loading...

mem_cmp() function

Syntax

static int mem_cmp (const void* dst,     const void* src,     UINT cnt);

Arguments

dst

src

cnt

References

LocationReferrerText
ff.c:716
int mem_cmp (const void* dst, const void* src, UINT cnt) { /* ZR:same, NZ:different */
ff.c:2269dir_find()
if (!(dp->fn[NSFLAG] & NS_LOSS) && !mem_cmp(dp->dir, dp->fn, 11)) break; /* SFN matched? */
ff.c:2275dir_find()
if (!(dp->dir[DIR_Attr] & AM_VOL) && !mem_cmp(dp->dir, dp->fn, 11)) break; /* Is it a valid entry? */

Call Tree

Functions calling mem_cmp()
all items filtered out
mem_cmp()
Data read by mem_cmp()
Data written by mem_cmp()
mem_cmp()::d
mem_cmp()::s
mem_cmp()::r
all items filtered out
mem_cmp()
mem_cmp()::d
mem_cmp()::s
mem_cmp()::r
all items filtered out
Type of mem_cmp()
mem_cmp()
all items filtered out