Two implementations of send() and recv()

Joel Sherrill joel.sherrill at oarcorp.com
Tue May 15 13:52:33 UTC 2007


Thomas Doerfler wrote:
> Hi,
>
> today I found, that we have two (identical) implementations of the
> send() and recv() functions.
>
> One implementation is available in cpukit/libnetworking/rtems_syscall.c,
> the other one in cpukit/libnetworking/libc/send.c and .../recv.c
>
> I would vote to remove the implementations in rtems_syscall.c.
>
> Any comments on this?
>
>   
Eric Norum would be the definitive answer on this but I am
nearly 100% certain you are correct.  The versions in rtems_syscall.c
can be removed.

Does this duplication go down to recvfrom and sendto?  I didn't think
it did.

--joel
> wkr,
> Thomas.
>
>
>   




More information about the users mailing list