]> xenbits.xensource.com Git - unikraft/libs/lwip.git/commit
Fix return values of recv/send functions
authorMarc Rittinghaus <marc.rittinghaus@kit.edu>
Mon, 20 Jun 2022 16:50:57 +0000 (18:50 +0200)
committerUnikraft <monkey@unikraft.io>
Tue, 16 Aug 2022 16:41:17 +0000 (16:41 +0000)
commit5e598b0601ab379f32a53dd0156e1adcef47dfa5
treed291d8cb3d76fb15a7a477d8861da6e88a1cfcc6
parent9cbe8e15be7c3fca9dcc54f9bd669615e3454e4f
Fix return values of recv/send functions

In the current headers the recv and send class functions return an int.
However, according to the man pages they should return a ssize_t.

Signed-off-by: Marc Rittinghaus <marc.rittinghaus@kit.edu>
Reviewed-by: Cezar Craciunoiu <cezar.craciunoiu@gmail.com>
Reviewed-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Approved-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Pull-Request: #17
include/sys/socket.h