diff options
author | matthew <> | 2012-04-22 02:21:49 +0000 |
---|---|---|
committer | matthew <> | 2012-04-22 02:21:49 +0000 |
commit | 24212ccd30f7739b7e34deede0ddbe30070e47cc (patch) | |
tree | 0fac6e27e6935b34ea857de62d6fe8f15a604a21 | |
parent | 7a3a6409add66aadd35f41791d1c85bd422e36e8 (diff) | |
download | openbsd-24212ccd30f7739b7e34deede0ddbe30070e47cc.tar.gz openbsd-24212ccd30f7739b7e34deede0ddbe30070e47cc.tar.bz2 openbsd-24212ccd30f7739b7e34deede0ddbe30070e47cc.zip |
Document that getpeereid() works for SOCK_SEQPACKET sockets too.
-rw-r--r-- | src/lib/libc/net/getpeereid.3 | 8 |
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 | |||
47 | The argument | 47 | The argument |
48 | .Fa s | 48 | .Fa s |
49 | must be of type | 49 | must be of type |
50 | .Dv SOCK_STREAM . | 50 | .Dv SOCK_STREAM |
51 | or | ||
52 | .Dv SOCK_SEQPACKET . | ||
51 | .Pp | 53 | .Pp |
52 | One common use is for | 54 | One common use is for |
53 | .Ux Ns -domain | 55 | .Ux Ns -domain |