* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* nis/gethostent.c -- "nis" backend for nsswitch "hosts" database
#include <ctype.h>
#include <netdb.h>
#include <stdio.h>
#include <string.h>
#include "nis_common.h"
#include <stdlib.h>
static nss_status_t
if (isupper(c)) {
return (NSS_UNAVAIL);
if (isupper(c)) {
copy, 0);
return (res);
return (res);
static nss_status_t
return (NSS_NOTFOUND);
return (res);