mirror of
https://github.com/apache/nuttx.git
synced 2025-12-16 09:45:18 +08:00
net: fix typos, incorrect comments, nxstyle
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
This commit is contained in:
committed by
Xiang Xiao
parent
eaa75b11f8
commit
de1ad1fdb3
@@ -75,11 +75,11 @@
|
||||
* flags - Receive flags
|
||||
*
|
||||
* Returned Value:
|
||||
* On success, returns the number of characters sent. If no data is
|
||||
* On success, returns the number of characters received. If no data is
|
||||
* available to be received and the peer has performed an orderly shutdown,
|
||||
* recv() will return 0. Otherwise, on any failure, a negated errno value
|
||||
* is returned (see comments with send() for a list of appropriate errno
|
||||
* values).
|
||||
* psock_recvmsg() will return 0. Otherwise, on any failure, a negated
|
||||
* errno value is returned (see comments with recvmsg() for a list of
|
||||
* appropriate errno values).
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
@@ -150,11 +150,11 @@ ssize_t psock_recvmsg(FAR struct socket *psock, FAR struct msghdr *msg,
|
||||
* flags - Receive flags
|
||||
*
|
||||
* Returned Value:
|
||||
* On success, returns the number of characters sent. If no data is
|
||||
* On success, returns the number of characters received. If no data is
|
||||
* available to be received and the peer has performed an orderly shutdown,
|
||||
* recv() will return 0. Otherwise, on any failure, a negated errno value
|
||||
* is returned (see comments with send() for a list of appropriate errno
|
||||
* values).
|
||||
* nx_recvmsg() will return 0. Otherwise, on any failure, a negated errno
|
||||
* value is returned (see comments with recvmsg() for a list of appropriate
|
||||
* errno values).
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user