From 08177ce7b3d51453bfd1a9ed8edd9a704bb9d374 Mon Sep 17 00:00:00 2001 From: dlg Date: Fri, 23 Oct 2015 03:16:19 +0000 Subject: [PATCH] there's an extra argument to soreceive now. found by teary students. --- share/man/man9/socreate.9 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/share/man/man9/socreate.9 b/share/man/man9/socreate.9 index 7a3604f639d..7a2d374d38f 100644 --- a/share/man/man9/socreate.9 +++ b/share/man/man9/socreate.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: socreate.9,v 1.3 2015/02/16 16:38:54 naddy Exp $ +.\" $OpenBSD: socreate.9,v 1.4 2015/10/23 03:16:19 dlg Exp $ .\" .\" Copyright (c) 2006 Robert N. M. Watson .\" All rights reserved. @@ -26,7 +26,7 @@ .\" .\" $FreeBSD: src/share/man/man9/socket.9,v 1.2 2006/12/16 10:32:10 rwatson Exp $ .\" -.Dd $Mdocdate: February 16 2015 $ +.Dd $Mdocdate: October 23 2015 $ .Dt SOCREATE 9 .Os .Sh NAME @@ -57,6 +57,7 @@ .Fo soreceive .Fa "struct socket *so" "struct mbuf **paddr" "struct uio *uio" .Fa "struct mbuf **mp0" "struct mbuf **controlp" "int *flagsp" +.Fa "socklen_t controllen" .Fc .Ft int .Fn sosetopt "struct socket *so" "int level" "int optname" "struct mbuf *m0" @@ -206,7 +207,9 @@ capability by providing storage via a .Pf non- Dv NULL .Fa paddr argument. -The caller may optionally retrieve control data mbufs via a +The caller may optionally retrieve up to +.Fa controllen +bytes of control data in mbufs via a .Pf non- Dv NULL .Fa controlp argument. -- 2.20.1