public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] make consistent example in recv.2
@ 2025-03-27 17:54 Peter Radisson
  2025-03-28 22:53 ` Carlos O'Donell
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Radisson @ 2025-03-27 17:54 UTC (permalink / raw)
  To: linux-man, Alejandro Colomar (man-pages)


Replace 0 with NULL als in the example a few lines above
---
  man2/recv.2 | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man2/recv.2 b/man2/recv.2
index ba17d03a3..21f65e86f 100644
--- a/man2/recv.2
+++ b/man2/recv.2
@@ -325,7 +325,7 @@ socket (see
  .BR connect (2)).
  It is equivalent to the call:
  .PP
-    recvfrom(fd, buf, len, flags, NULL, 0);
+    recvfrom(fd, buf, len, flags, NULL, NULL);
  .\"
  .SS recvmsg()
  The
--
2.35.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-04-01 19:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-27 17:54 [PATCH] make consistent example in recv.2 Peter Radisson
2025-03-28 22:53 ` Carlos O'Donell
2025-03-29 18:30   ` Alejandro Colomar
2025-04-01 19:22     ` Peter Radisson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox