Sync usage with man page.
[netbsd-mini2440.git] / lib / libc / resolv / __res_send.c
blob0fec469b3dc45ae22bbe7a3065e3f1cdff73596c
1 /* $NetBSD: __res_send.c,v 1.3 2005/07/30 15:21:20 christos Exp $ */
3 /*
4 * written by matthew green, 22/04/97.
5 * public domain.
6 */
8 #include <sys/cdefs.h>
9 #if defined(LIBC_SCCS) && !defined(lint)
10 __RCSID("$NetBSD: __res_send.c,v 1.3 2005/07/30 15:21:20 christos Exp $");
11 #endif
13 #if defined(__indr_reference)
14 __indr_reference(__res_send, res_send)
15 #else
17 #include <sys/types.h>
18 #include <netinet/in.h>
19 #include <resolv.h>
21 /* XXX THIS IS A MESS! SEE <resolv.h> XXX */
23 #undef res_send
24 int res_send(const u_char *, int, u_char *, int);
26 int
27 res_send(const u_char *buf, int buflen, u_char *ans, int anssiz)
30 return __res_send(buf, buflen, ans, anssiz);
33 #endif