summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjaredy <jaredy@openbsd.org>2005-07-04 05:02:15 +0000
committerjaredy <jaredy@openbsd.org>2005-07-04 05:02:15 +0000
commit10a5c7aebd5b2956f22bd7fe9e0185e479b876a7 (patch)
tree5a86b8f9ee35bf1f0463abad41e725daea409f99
parentadd a manpage describing the socket control message macros. (diff)
downloadwireguard-openbsd-10a5c7aebd5b2956f22bd7fe9e0185e479b876a7.tar.xz
wireguard-openbsd-10a5c7aebd5b2956f22bd7fe9e0185e479b876a7.zip
link to new CMSG_DATA(3); prod by deraadt
-rw-r--r--lib/libc/sys/recv.29
-rw-r--r--lib/libc/sys/send.25
2 files changed, 10 insertions, 4 deletions
diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2
index 67c68e29ae1..fdf9b711437 100644
--- a/lib/libc/sys/recv.2
+++ b/lib/libc/sys/recv.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: recv.2,v 1.33 2005/01/06 00:32:48 jaredy Exp $
+.\" $OpenBSD: recv.2,v 1.34 2005/07/04 05:02:15 jaredy Exp $
.\" $NetBSD: recv.2,v 1.6 1995/02/27 12:36:08 cgd Exp $
.\"
.\" Copyright (c) 1983, 1990, 1991, 1993
@@ -203,6 +203,10 @@ struct cmsghdr {
};
.Ed
.Pp
+See
+.Xr CMSG_DATA 3
+for how these messages are constructed and decomposed.
+.Pp
As an example, one could use this to learn of changes in the data-stream
in XNS/SPP.
.Pp
@@ -336,7 +340,8 @@ was less than 0 or larger than
.Xr read 2 ,
.Xr select 2 ,
.Xr socket 2 ,
-.Xr socketpair 2
+.Xr socketpair 2 ,
+.Xr CMSG_DATA 3
.Sh HISTORY
The
.Fn recv
diff --git a/lib/libc/sys/send.2 b/lib/libc/sys/send.2
index 4b0bd7615a6..c1de7d4c12a 100644
--- a/lib/libc/sys/send.2
+++ b/lib/libc/sys/send.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: send.2,v 1.21 2003/06/02 20:18:39 millert Exp $
+.\" $OpenBSD: send.2,v 1.22 2005/07/04 05:02:15 jaredy Exp $
.\" $NetBSD: send.2,v 1.6 1996/01/15 01:17:18 thorpej Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -214,7 +214,8 @@ Addresses in the specified address family cannot be used with this socket.
.Xr recv 2 ,
.Xr select 2 ,
.Xr socket 2 ,
-.Xr write 2
+.Xr write 2 ,
+.Xr CMSG_DATA 3
.Sh HISTORY
The
.Fn send