summaryrefslogtreecommitdiff
path: root/ext/socket/ancdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/ancdata.c')
-rw-r--r--ext/socket/ancdata.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/socket/ancdata.c b/ext/socket/ancdata.c
index 755fa384637..8fbe6bda086 100644
--- a/ext/socket/ancdata.c
+++ b/ext/socket/ancdata.c
@@ -993,7 +993,7 @@ bsock_sendmsg_internal(int argc, VALUE *argv, VALUE sock, int nonblock)
/*
* call-seq:
- * basicsocket.sendmsg(mesg, flags=0, dest_sockaddr=nil, *controls) => sent_len
+ * basicsocket.sendmsg(mesg, flags=0, dest_sockaddr=nil, *controls) => numbytes_sent
*
* sendmsg sends a message using sendmsg(2) system call in blocking manner.
*
@@ -1010,7 +1010,7 @@ bsock_sendmsg_internal(int argc, VALUE *argv, VALUE sock, int nonblock)
* 3-elements array.
* The 3-element array should contains cmsg_level, cmsg_type and data.
*
- * The return value, _sent_len_, is an integer which is the number of bytes sent.
+ * The return value, _numbytes_sent_sent is an integer which is the number of bytes sent.
*
* sendmsg can be used to implement send_io as follows:
*
@@ -1031,7 +1031,7 @@ bsock_sendmsg(int argc, VALUE *argv, VALUE sock)
/*
* call-seq:
- * basicsocket.sendmsg_nonblock(mesg, flags=0, dest_sockaddr=nil, *controls) => sent_len
+ * basicsocket.sendmsg_nonblock(mesg, flags=0, dest_sockaddr=nil, *controls) => numbytes_sent
*
* sendmsg_nonblock sends a message using sendmsg(2) system call in non-blocking manner.
*