MCPcopy Create free account
hub / github.com/eggert/tz / bsearch_linkcmp

Function bsearch_linkcmp

zic.c:977–982  ·  view source on GitHub ↗

Compare the string KEY to the link B, for bsearch. */

Source from the content-addressed store, hash-verified

975static int
976bsearch_linkcmp(void const *key, void const *b)
977{
978 struct link const *m = b;
979 return strcmp(key, m->l_linkname);
980}
981
982/* Make the links specified by the Link lines. */
983static void
984make_links(void)
985{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected