summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/recv.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/recv.2')
-rw-r--r--lib/libc/sys/recv.27
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2
index 51d8d61..8c3e1b6 100644
--- a/lib/libc/sys/recv.2
+++ b/lib/libc/sys/recv.2
@@ -63,7 +63,9 @@ it is connection-oriented.
.Pp
If
.Fa from
-is non-nil, and the socket is not connection-oriented,
+is not
+.Dv NULL ,
+and the socket is not connection-oriented,
the source address of the message is filled in.
The
.Fa fromlen
@@ -82,7 +84,8 @@ socket (see
.Xr connect 2 )
and is identical to
.Fn recvfrom
-with a nil
+with a
+.Dv NULL
.Fa from
argument.
As it is redundant, it may not be supported in future releases.
OpenPOWER on IntegriCloud