* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
* %sccs.include.redist.c%
static char sccsid
[] = "@(#)getent.c 8.2 (Berkeley) %G%";
dba
[0] = "/etc/gettytab";
return((cgetent(&area
, dba
, name
) == 0) ? 1 : 0);
return((cgetstr(area
, id
, &answer
) > 0) ? answer
: 0);