summaryrefslogtreecommitdiff
path: root/usr.bin/fstat
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2008-12-15 09:50:00 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2008-12-15 09:50:00 +0000
commitc8f469464be04fd93acbcc2a71ca73d628f61aa0 (patch)
tree19c780ddea74c5307edc23cbdedca189298bc45b /usr.bin/fstat
parent897903b98e20a5429347b08fe32094384f4f190a (diff)
correct the description of fstat output for sockets;
reported by Stephan A. Rickauer ok otto
Diffstat (limited to 'usr.bin/fstat')
-rw-r--r--usr.bin/fstat/fstat.19
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.bin/fstat/fstat.1 b/usr.bin/fstat/fstat.1
index f8363cdb71d..bf4f249ea69 100644
--- a/usr.bin/fstat/fstat.1
+++ b/usr.bin/fstat/fstat.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fstat.1,v 1.39 2008/10/07 02:20:12 deraadt Exp $
+.\" $OpenBSD: fstat.1,v 1.40 2008/12/15 09:49:59 jmc Exp $
.\"
.\" Copyright (c) 1987, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" from: @(#)fstat.1 8.3 (Berkeley) 2/25/94
.\"
-.Dd $Mdocdate: October 7 2008 $
+.Dd $Mdocdate: December 15 2008 $
.Dt FSTAT 1
.Os
.Sh NAME
@@ -197,9 +197,8 @@ Displays total number of Kbytes written and read to the file.
.El
.Sh SOCKETS
The formatting of open sockets depends on the protocol domain.
-In all cases the first field is the domain name, the second field
-is the socket type (stream, dgram, etc), and the third is the socket
-flags field (in hex).
+In all cases the first field is the domain name
+and the second field is the socket type (stream, dgram, etc).
The remaining fields are protocol dependent.
For TCP, it is the address of the tcpcb, and for UDP, the inpcb (socket pcb).
For Unix domain sockets, it's the address of the socket pcb and the address