summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatthew <>2012-04-22 02:21:49 +0000
committermatthew <>2012-04-22 02:21:49 +0000
commit2d0fb820747d324150c3a56ef11b4248b64018c1 (patch)
tree0fac6e27e6935b34ea857de62d6fe8f15a604a21
parent2dae4c1444efcf1b18b9b80adda8d29eaea3d217 (diff)
downloadopenbsd-2d0fb820747d324150c3a56ef11b4248b64018c1.tar.gz
openbsd-2d0fb820747d324150c3a56ef11b4248b64018c1.tar.bz2
openbsd-2d0fb820747d324150c3a56ef11b4248b64018c1.zip
Document that getpeereid() works for SOCK_SEQPACKET sockets too.
-rw-r--r--src/lib/libc/net/getpeereid.38
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/libc/net/getpeereid.3 b/src/lib/libc/net/getpeereid.3
index c1671a7516..8e777d3ca6 100644
--- a/src/lib/libc/net/getpeereid.3
+++ b/src/lib/libc/net/getpeereid.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: getpeereid.3,v 1.1 2010/07/01 19:15:30 deraadt Exp $ 1.\" $OpenBSD: getpeereid.3,v 1.2 2012/04/22 02:21:49 matthew Exp $
2.\" 2.\"
3.\" Copyright (c) 1983, 1991, 1993 3.\" Copyright (c) 1983, 1991, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
@@ -26,7 +26,7 @@
26.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28.\" SUCH DAMAGE. 28.\" SUCH DAMAGE.
29.Dd $Mdocdate: July 1 2010 $ 29.Dd $Mdocdate: April 22 2012 $
30.Dt GETPEEREID 3 30.Dt GETPEEREID 3
31.Os 31.Os
32.Sh NAME 32.Sh NAME
@@ -47,7 +47,9 @@ socket (see
47The argument 47The argument
48.Fa s 48.Fa s
49must be of type 49must be of type
50.Dv SOCK_STREAM . 50.Dv SOCK_STREAM
51or
52.Dv SOCK_SEQPACKET .
51.Pp 53.Pp
52One common use is for 54One common use is for
53.Ux Ns -domain 55.Ux Ns -domain