From: Peter Radisson Date: Sat, 29 Mar 2025 18:20:18 +0000 (+0100) Subject: man/man2/recv.2: Don't use 0 as a null pointer constant X-Git-Tag: man-pages-6.14~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c47826785d91e9cd8c2957d789e50a50e36833e0;p=thirdparty%2Fman-pages.git man/man2/recv.2: Don't use 0 as a null pointer constant It was probably a typo, since in sendto(2) this is (..., NULL, 0). Signed-off-by: Peter Radisson Message-ID: <189ef077-18f4-43a3-9008-286a75e7bd91@web.de> Reviewed-by: Carlos O'Donell Signed-off-by: Alejandro Colomar --- diff --git a/man/man2/recv.2 b/man/man2/recv.2 index 31635b0d7..fe72cf3c0 100644 --- a/man/man2/recv.2 +++ b/man/man2/recv.2 @@ -298,7 +298,7 @@ It is equivalent to the call: .P .in +4n .EX -recvfrom(fd, buf, size, flags, NULL, 0); +recvfrom(fd, buf, size, flags, NULL, NULL); .EE .in .\"