src/gedlib/misc.c
/*=============================================
 * node_to_keynum -- key # of a 0 level node
 * returns 0 for failure
 *===========================================*/
- key # of a 0 level node
returns 0 for failure
- key # of a 0 level node returns 0 for failure
INT
node_to_keynum(char ntype, NODE nod)
{
	if (!nod) return 0;
	return xrefval(ntype, nxref(nod));
}
INT node_to_keynum ( char ntype , NODE nod ) { if ( ! nod ) return 0 ; return xrefval ( ntype , nxref ( nod ) ) ; }
node_to_keynum -- key # of a 0 level node
 returns 0 for failure
node_to_keynum -- key # of a 0 level node returns 0 for failure