new copyright notice
[unix-history] / usr / src / lib / libc / net / sethostent.c
/*
* Copyright (c) 1985 Regents of the University of California.
* All rights reserved.
*
* %sccs.include.redist.c%
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)sethostent.c 6.6 (Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
#include <arpa/nameser.h>
#include <netinet/in.h>
#include <resolv.h>
sethostent(stayopen)
{
if (stayopen)
_res.options |= RES_STAYOPEN | RES_USEVC;
}
endhostent()
{
_res.options &= ~(RES_STAYOPEN | RES_USEVC);
_res_close();
}
sethostfile(name)
char *name;
{
#ifdef lint
name = name;
#endif
}