Skip to contentSkip to conversation

sctp_recvmsg man update

PATCH Applied [email protected] 2 participants 2 messages Apr 26, 2019 – Apr 30, 2019 SCTP protocol

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sctp_recvmsg man update

From: Damir Franusic <[email protected]>

* fixes issue #31

---
 man/sctp_recvmsg.3 | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
man/sctp_recvmsg.3 +10 -1
index a7dede1..7854aec 100644
@@ -44,7 +44,16 @@ message.
 .I msg_flags
 is a pointer to a integer that is filled with any message flags like
 .B MSG_NOTIFICATION or
-.B MSG_EOR.
+.B MSG_EOR. 
+The value of 
+.I msg_flags 
+pointer should be initialized to 0 to avoid unexpected behavior;
+.I msg_flags
+is also used as an input 
+.I flags 
+argument to 
+.I recvmsg
+function.
 .SH "RETURN VALUE"
 On success,
 .BR sctp_recvmsg
Signature · 1 line
2.21.0
maintainer Applied
#1 lore raw
Quoted 32 lines · On Fri, Apr 26, 2019 at 09:39:43PM +0200, [email protected] wrote:

From: Damir Franusic <[email protected]>

* fixes issue #31

---
 man/sctp_recvmsg.3 | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
man/sctp_recvmsg.3 +10 -1
index a7dede1..7854aec 100644
@@ -44,7 +44,16 @@ message.
 .I msg_flags
 is a pointer to a integer that is filled with any message flags like
 .B MSG_NOTIFICATION or
-.B MSG_EOR.
+.B MSG_EOR. 
+The value of 
+.I msg_flags 
+pointer should be initialized to 0 to avoid unexpected behavior;
+.I msg_flags
+is also used as an input 
+.I flags 
+argument to 
+.I recvmsg
+function.
 .SH "RETURN VALUE"
 On success,
 .BR sctp_recvmsg
Signature · 1 line
2.21.0

Applied, thanks Damir.