summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/recv.2
diff options
context:
space:
mode:
authorkeramida <keramida@FreeBSD.org>2004-12-23 23:45:25 +0000
committerkeramida <keramida@FreeBSD.org>2004-12-23 23:45:25 +0000
commit9992d6428f038cb027b08a659e8253ae0f0503a1 (patch)
treefa17121d9a635b571177c32da68d0670990b2c96 /lib/libc/sys/recv.2
parent9cd8396061808a32518fcb7e287437308d5ef937 (diff)
downloadFreeBSD-src-9992d6428f038cb027b08a659e8253ae0f0503a1.zip
FreeBSD-src-9992d6428f038cb027b08a659e8253ae0f0503a1.tar.gz
``NULL is a specific instance of a null pointer constant; the generic is
a "null pointer".'' Making good use of the excellent explanations sent to me by Ruslan Ermilov, Garrett Wollman and Bruce Evans, correct the descriptions of null pointers. They are just "null pointers", not nil, not NULL or ".Dv NULL". Suggested by: ru, wollman, bde Reviewed by: ru, wollman Pointy hat: keramida
Diffstat (limited to 'lib/libc/sys/recv.2')
-rw-r--r--lib/libc/sys/recv.25
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2
index 8c3e1b6..6833a59 100644
--- a/lib/libc/sys/recv.2
+++ b/lib/libc/sys/recv.2
@@ -63,8 +63,7 @@ it is connection-oriented.
.Pp
If
.Fa from
-is not
-.Dv NULL ,
+is not a null pointer
and the socket is not connection-oriented,
the source address of the message is filled in.
The
@@ -85,7 +84,7 @@ socket (see
and is identical to
.Fn recvfrom
with a
-.Dv NULL
+null pointer passed as its
.Fa from
argument.
As it is redundant, it may not be supported in future releases.
OpenPOWER on IntegriCloud