OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [net/] [tcpip/] [v2_0/] [src/] [lib/] [recv.c] - Blame information for rev 174

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
//==========================================================================
2
//
3
//      lib/recv.c
4
//
5
//      recv() system call
6
//
7
//==========================================================================
8
//####BSDCOPYRIGHTBEGIN####
9
//
10
// -------------------------------------------
11
//
12
// Portions of this software may have been derived from OpenBSD or other sources,
13
// and are covered by the appropriate copyright disclaimers included herein.
14
//
15
// -------------------------------------------
16
//
17
//####BSDCOPYRIGHTEND####
18
//==========================================================================
19
//#####DESCRIPTIONBEGIN####
20
//
21
// Author(s):    gthomas,andrew.lunn@ascom.ch
22
// Contributors: gthomas
23
// Date:         2001-11-01
24
// Purpose:      
25
// Description:  
26
//              
27
//
28
//####DESCRIPTIONEND####
29
//
30
//==========================================================================
31
 
32
 
33
#include <sys/param.h>
34
#include <cyg/io/file.h>
35
#include <sys/socket.h>
36
#include <sys/socketvar.h>
37
 
38
extern ssize_t recvfrom (int, void *, size_t, int, struct sockaddr *, socklen_t *);
39
 
40
ssize_t
41
recv(int s, void *buf, size_t buflen, int flags)
42
{
43
 
44
    return(recvfrom(s,buf,buflen,flags,NULL,0));
45
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.