136430Sbostic /* 236430Sbostic * Copyright (c) 1988 The Regents of the University of California. 336430Sbostic * All rights reserved. 436430Sbostic * 5*42627Sbostic * %sccs.include.redist.c% 636430Sbostic */ 736430Sbostic 836430Sbostic #if defined(LIBC_SCCS) && !defined(lint) 9*42627Sbostic static char sccsid[] = "@(#)recv.c 5.2 (Berkeley) 06/01/90"; 1036430Sbostic #endif /* LIBC_SCCS and not lint */ 1136430Sbostic 1236430Sbostic #include <sys/types.h> 1336430Sbostic #include <sys/socket.h> 1436430Sbostic #include <stdio.h> 1536430Sbostic 1636430Sbostic recv(s, buf, len, flags) 1736430Sbostic int s, len, flags; 1836430Sbostic char *buf; 1936430Sbostic { 2036430Sbostic return(recvfrom(s, buf, len, flags, (struct sockaddr *)NULL, 0)); 2136430Sbostic } 22