Searched refs:Compare_f (Results 1 - 2 of 2) sorted by relevance

/ast/src/lib/libcmd/
H A Duniq.c83 typedef int (*Compare_f)(const char*, const char*, size_t); typedef
85 static int uniq(Sfio_t *fdin, Sfio_t *fdout, int fields, int chars, int width, int mode, int* all, Compare_f compare)
254 Compare_f compare = (Compare_f)memcmp;
284 compare = (Compare_f)strncasecmp;
/ast/src/cmd/mailx/
H A Dlocal.c788 typedef int (*Compare_f)(const char*, const char*); typedef
801 strsearch(const void* tab, size_t num, size_t siz, Compare_f comparf, const char* name, void* context)
811 if (!(v = context ? (*(Compare_context_f)comparf)(name, *((char**)mid), context) : (*(Compare_f)comparf)(name, *((char**)mid))))

Completed in 8 milliseconds