summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2012-04-22 02:21:50 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2012-04-22 02:21:50 +0000
commit921866145a56847793379c9a62e7c89695a76d54 (patch)
tree5724758e3287af3707b455da5fb783d339b08571 /lib/libc
parent0014379bcaab59183617e3912fdc7589cf2c0322 (diff)
Document that getpeereid() works for SOCK_SEQPACKET sockets too.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/getpeereid.38
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/net/getpeereid.3 b/lib/libc/net/getpeereid.3
index c1671a75167..8e777d3ca6a 100644
--- a/lib/libc/net/getpeereid.3
+++ b/lib/libc/net/getpeereid.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getpeereid.3,v 1.1 2010/07/01 19:15:30 deraadt Exp $
+.\" $OpenBSD: getpeereid.3,v 1.2 2012/04/22 02:21:49 matthew Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -26,7 +26,7 @@
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
-.Dd $Mdocdate: July 1 2010 $
+.Dd $Mdocdate: April 22 2012 $
.Dt GETPEEREID 3
.Os
.Sh NAME
@@ -47,7 +47,9 @@ socket (see
The argument
.Fa s
must be of type
-.Dv SOCK_STREAM .
+.Dv SOCK_STREAM
+or
+.Dv SOCK_SEQPACKET .
.Pp
One common use is for
.Ux Ns -domain