Changeset 609df33 in rtems-libbsd


Ignore:
Timestamp:
Oct 11, 2013, 11:20:26 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
bada2f7
Parents:
caf8ede
git-author:
Sebastian Huber <sebastian.huber@…> (10/11/13 11:20:26)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/31/13 12:18:47)
Message:

Use send() and recv() from FreeBSD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemsbsd/rtems/rtems-bsd-syscalls.c

    rcaf8ede r609df33  
    762762}
    763763
    764 ssize_t
    765 send( int s, const void *msg, size_t len, int flags )
    766 {
    767   return (sendto(s, msg, len, flags, NULL, 0));
    768 }
    769 
    770764int
    771765kern_recvit(td, s, mp, fromseg, controlp)
     
    10241018}
    10251019
    1026 ssize_t
    1027 recv( int s, void *buf, size_t len, int flags )
    1028 {
    1029   return (recvfrom(s, buf, len, flags, NULL, 0));
    1030 }
    1031 
    10321020int
    10331021kern_setsockopt(td, s, level, name, val, valseg, valsize)
Note: See TracChangeset for help on using the changeset viewer.