aboutsummaryrefslogtreecommitdiffstats
path: root/man/man2/recv.2
diff options
context:
space:
mode:
Diffstat (limited to 'man/man2/recv.2')
-rw-r--r--man/man2/recv.26
1 files changed, 4 insertions, 2 deletions
diff --git a/man/man2/recv.2 b/man/man2/recv.2
index 727e89864d..31635b0d7f 100644
--- a/man/man2/recv.2
+++ b/man/man2/recv.2
@@ -20,9 +20,11 @@ Standard C library
.nf
.B #include <sys/socket.h>
.P
-.BI "ssize_t recv(int " sockfd ", void " buf [. size "], size_t " size ,
+.BI "ssize_t recv(size_t " size ;
+.BI " int " sockfd ", void " buf [ size "], size_t " size ,
.BI " int " flags );
-.BI "ssize_t recvfrom(int " sockfd ", void " buf "[restrict ." size "], size_t " size ,
+.BI "ssize_t recvfrom(size_t " size ;
+.BI " int " sockfd ", void " buf "[restrict " size "], size_t " size ,
.BI " int " flags ,
.BI " struct sockaddr *_Nullable restrict " src_addr ,
.BI " socklen_t *_Nullable restrict " addrlen );