aboutsummaryrefslogtreecommitdiffstats
path: root/man/man2/send.2
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2025-03-14 18:33:41 +0100
committerAlejandro Colomar <alx@kernel.org>2025-03-14 18:55:19 +0100
commitd2c2db8830f8fcbb736bdea52b398257447bef6b (patch)
tree13a38ceaeaa6bc257994d91027d42ca187fd2c21 /man/man2/send.2
parent44930b7b8eacbfff12acd1dcfbb66dd818e35254 (diff)
downloadman-pages-d2c2db8830f8fcbb736bdea52b398257447bef6b.tar.gz
man/: SYNOPSIS: Use GNU forward-declarations of parameters for sizes of array parameters
This syntax has been proposed for standardization in N3433. Link: <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3433.pdf> Cc: Christopher Bazley <chris.bazley.wg14@gmail.com> Cc: Martin Uecker <uecker@tugraz.at> Cc: Joseph Myers <josmyers@redhat.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man2/send.2')
-rw-r--r--man/man2/send.26
1 files changed, 4 insertions, 2 deletions
diff --git a/man/man2/send.2 b/man/man2/send.2
index 82aae39230..371205ad88 100644
--- a/man/man2/send.2
+++ b/man/man2/send.2
@@ -19,9 +19,11 @@ Standard C library
.nf
.B #include <sys/socket.h>
.P
-.BI "ssize_t send(int " sockfd ", const void " buf [. size "], size_t " size \
+.BI "ssize_t send(size_t " size ;
+.BI " int " sockfd ", const void " buf [ size "], size_t " size \
", int " flags );
-.BI "ssize_t sendto(int " sockfd ", const void " buf [. size "], size_t " size \
+.BI "ssize_t sendto(size_t " size ;
+.BI " int " sockfd ", const void " buf [ size "], size_t " size \
", int " flags ,
.BI " const struct sockaddr *" dest_addr ", socklen_t " addrlen );
.BI "ssize_t sendmsg(int " sockfd ", const struct msghdr *" msg \