getnetent_p
if (getnetent_p(&ne, ned) != 0)
while ((error = getnetent_p(&ne, ned)) == 0) {
while ((error = getnetent_p(&ne, ned)) == 0)