xref: /csrg-svn/lib/libc/net/send.c (revision 46604)
136431Sbostic /*
236431Sbostic  * Copyright (c) 1988 The Regents of the University of California.
336431Sbostic  * All rights reserved.
436431Sbostic  *
542628Sbostic  * %sccs.include.redist.c%
636431Sbostic  */
736431Sbostic 
836431Sbostic #if defined(LIBC_SCCS) && !defined(lint)
9*46604Sbostic static char sccsid[] = "@(#)send.c	5.3 (Berkeley) 02/24/91";
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;
18*46604Sbostic 	const void *msg;
1936431Sbostic {
2036431Sbostic 	return(sendto(s, msg, len, flags, (struct sockaddr *)NULL, 0));
2136431Sbostic }
22