Lines Matching defs:getnetconfig
1 /* $NetBSD: getnetconfig.c,v 1.25 2017/06/30 10:03:34 christos Exp $ */
37 static char sccsid[] = "@(#)getnetconfig.c 1.12 91/12/19 SMI";
39 __RCSID("$NetBSD: getnetconfig.c,v 1.25 2017/06/30 10:03:34 christos Exp $");
60 __weak_alias(getnetconfig,_getnetconfig)
196 * getnetconfig() to parse the file. Each call to getnetconfig() using the
198 * setnetconfig() must be called before the first call to getnetconfig().
238 * When first called, getnetconfig() returns a pointer to the first entry in
240 * call, getnetconfig() returns a pointer to the next entry in the database.
241 * getnetconfig() can thus be used to search the entire netconfig file.
242 * getnetconfig() returns NULL at end of file.
246 getnetconfig(void *handlep)
302 fprintf(stderr, "memory heap corrupted in getnetconfig\n");
436 * getnetconfig(), then copy this entry into a buffer and return it.