diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2012-04-22 02:21:50 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2012-04-22 02:21:50 +0000 |
commit | 921866145a56847793379c9a62e7c89695a76d54 (patch) | |
tree | 5724758e3287af3707b455da5fb783d339b08571 /lib/libc | |
parent | 0014379bcaab59183617e3912fdc7589cf2c0322 (diff) |
Document that getpeereid() works for SOCK_SEQPACKET sockets too.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/net/getpeereid.3 | 8 |
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 |