mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
net: make the sendmsg param type consistent with posix specification
To ensure consistency, in all places where the "sendmsg" function is used either directly or indirectly, the type of the "struct msghdr *msg" parameter needs to be modified to "const struct msghdr *msg". Signed-off-by: guoshichao <guoshichao@xiaomi.com>
This commit is contained in:
parent
9de3b79e2c
commit
57637e5927
23 changed files with 44 additions and 42 deletions
|
|
@ -155,7 +155,7 @@
|
|||
"select","sys/select.h","","int","int","FAR fd_set *","FAR fd_set *","FAR fd_set *","FAR struct timeval *"
|
||||
"send","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR const void *","size_t","int"
|
||||
"sendfile","sys/sendfile.h","","ssize_t","int","int","FAR off_t *","size_t"
|
||||
"sendmsg","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR struct msghdr *","int"
|
||||
"sendmsg","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR const struct msghdr *","int"
|
||||
"sendto","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR const void *","size_t","int","FAR const struct sockaddr *","socklen_t"
|
||||
"setegid","unistd.h","defined(CONFIG_SCHED_USER_IDENTITY)","int","gid_t"
|
||||
"setenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","int","FAR const char *","FAR const char *","int"
|
||||
|
|
|
|||
|
Can't render this file because it has a wrong number of fields in line 2.
|
Loading…
Add table
Add a link
Reference in a new issue