/* * Copyright (c) 1988 The Regents of the University of California. * All rights reserved. * * %sccs.include.redist.c% */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)recv.c 5.3 (Berkeley) 02/24/91"; #endif /* LIBC_SCCS and not lint */ #include #include #include recv(s, buf, len, flags) int s, len, flags; void *buf; { return(recvfrom(s, buf, len, flags, (struct sockaddr *)NULL, 0)); }