xref: /csrg-svn/lib/libc/net/send.c (revision 61151)
136431Sbostic /*
2*61151Sbostic  * Copyright (c) 1988, 1993
3*61151Sbostic  *	The Regents of the University of California.  All rights reserved.
436431Sbostic  *
542628Sbostic  * %sccs.include.redist.c%
636431Sbostic  */
736431Sbostic 
836431Sbostic #if defined(LIBC_SCCS) && !defined(lint)
9*61151Sbostic static char sccsid[] = "@(#)send.c	8.1 (Berkeley) 06/04/93";
1036431Sbostic #endif /* LIBC_SCCS and not lint */
1136431Sbostic 
1236431Sbostic #include <sys/types.h>
1336431Sbostic #include <sys/socket.h>
1436431Sbostic #include <stdio.h>
1536431Sbostic 
1636431Sbostic send(s, msg, len, flags)
1736431Sbostic 	int s, len, flags;
1846604Sbostic 	const void *msg;
1936431Sbostic {
2036431Sbostic 	return(sendto(s, msg, len, flags, (struct sockaddr *)NULL, 0));
2136431Sbostic }
22