summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2016-01-15 11:39:29 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2016-01-15 11:39:29 +0000
commit2a1fb76ac4cc1eb49faf6c7afa6b45a12d967700 (patch)
treeb6caa32a2d80fc5b9fac13d182bc0e0bccbabb5b
parentb7d261a38bb02aec8565d918b75ddf456ca6097f (diff)
document "show socket".
jmc@ was super keen for this.
-rw-r--r--share/man/man4/ddb.413
1 files changed, 11 insertions, 2 deletions
diff --git a/share/man/man4/ddb.4 b/share/man/man4/ddb.4
index 71789b29ba2..61521c69f40 100644
--- a/share/man/man4/ddb.4
+++ b/share/man/man4/ddb.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ddb.4,v 1.79 2015/09/11 08:34:35 guenther Exp $
+.\" $OpenBSD: ddb.4,v 1.80 2016/01/15 11:39:28 dlg Exp $
.\" $NetBSD: ddb.4,v 1.5 1994/11/30 16:22:09 jtc Exp $
.\"
.\" Mach Operating System
@@ -25,7 +25,7 @@
.\" any improvements or extensions that they make and grant Carnegie Mellon
.\" the rights to redistribute these changes.
.\"
-.Dd $Mdocdate: September 11 2015 $
+.Dd $Mdocdate: January 15 2016 $
.Dt DDB 4
.Os
.Sh NAME
@@ -776,6 +776,15 @@ Note: The
modifier is not supported on every machine, in which case
incorrect information may be displayed.
.\" --------------------
+.It Ic show socket Ar addr
+Prints the
+.Li struct socket
+at
+.Ar addr .
+If the socket is spliced, the
+.Li struct sosplice
+associated with the socket is printed as well.
+.\" --------------------
.It Xo
.Ic show struct
.Ar name