xref: /csrg-svn/lib/libc/net/send.c (revision 66181)
136431Sbostic /*
261151Sbostic  * Copyright (c) 1988, 1993
361151Sbostic  *	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*66181Sbostic static char sccsid[] = "@(#)send.c	8.2 (Berkeley) 02/21/94";
1036431Sbostic #endif /* LIBC_SCCS and not lint */
1136431Sbostic 
1236431Sbostic #include <sys/types.h>
1336431Sbostic #include <sys/socket.h>
1436431Sbostic 
15*66181Sbostic #include <stddef.h>
16*66181Sbostic 
17*66181Sbostic ssize_t
send(s,msg,len,flags)1836431Sbostic send(s, msg, len, flags)
19*66181Sbostic 	int s, flags;
20*66181Sbostic 	size_t len;
2146604Sbostic 	const void *msg;
2236431Sbostic {
23*66181Sbostic 	return (sendto(s, msg, len, flags, NULL, 0));
2436431Sbostic }
25