1 Star 0 Fork 11

shirely/lksctp-tools

forked from src-openEuler/lksctp-tools 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
bugfix-sctp-recvmsg-man-update.patch 927 Bytes
一键复制 编辑 原始数据 按行查看 历史
shirely16 提交于 2020-07-15 15:55 . update to lksctp-tools-1.0.18
From af927f86ee709e9e7071db92d00ac8c050939214 Mon Sep 17 00:00:00 2001
From: Damir Franusic <[email protected]>
Date: Fri, 26 Apr 2019 21:39:43 +0200
Subject: [PATCH 10/11] sctp_recvmsg man update
* fixes issue #31
Signed-off-by: Marcelo Ricardo Leitner <[email protected]>
---
man/sctp_recvmsg.3 | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/man/sctp_recvmsg.3 b/man/sctp_recvmsg.3
index a7dede1..7854aec 100644
--- a/man/sctp_recvmsg.3
+++ b/man/sctp_recvmsg.3
@@ -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
--
1.8.3.1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/shirely16/lksctp-tools.git
[email protected]:shirely16/lksctp-tools.git
shirely16
lksctp-tools
lksctp-tools
master

搜索帮助