summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2008-12-15 09:49:59 +0000
committerjmc <jmc@openbsd.org>2008-12-15 09:49:59 +0000
commit2345df395b79604da7fe92db3e44d8a7f74494ac (patch)
tree0962ec97fe0cfdda580502150eab12c73261bcf2
parentremove i386-only inline assembler roll() function; gcc optimises the (diff)
downloadwireguard-openbsd-2345df395b79604da7fe92db3e44d8a7f74494ac.tar.xz
wireguard-openbsd-2345df395b79604da7fe92db3e44d8a7f74494ac.zip
correct the description of fstat output for sockets;
reported by Stephan A. Rickauer ok otto
-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