4.4BSD snapshot (revision 8.1); add 1993 to copyright
[unix-history] / usr / src / lib / libc / net / send.c
CommitLineData
20ff7e1b 1/*
67039e6d
KB
2 * Copyright (c) 1988, 1993
3 * The Regents of the University of California. All rights reserved.
20ff7e1b 4 *
269a7923 5 * %sccs.include.redist.c%
20ff7e1b
KB
6 */
7
8#if defined(LIBC_SCCS) && !defined(lint)
67039e6d 9static char sccsid[] = "@(#)send.c 8.1 (Berkeley) %G%";
20ff7e1b
KB
10#endif /* LIBC_SCCS and not lint */
11
12#include <sys/types.h>
13#include <sys/socket.h>
14#include <stdio.h>
15
16send(s, msg, len, flags)
17 int s, len, flags;
24fac7d8 18 const void *msg;
20ff7e1b
KB
19{
20 return(sendto(s, msg, len, flags, (struct sockaddr *)NULL, 0));
21}