aboutsummaryrefslogtreecommitdiff
path: root/pcap_file.3pcap
diff options
context:
space:
mode:
Diffstat (limited to 'pcap_file.3pcap')
-rw-r--r--pcap_file.3pcap10
1 files changed, 8 insertions, 2 deletions
diff --git a/pcap_file.3pcap b/pcap_file.3pcap
index 87fd7d53..1471ab63 100644
--- a/pcap_file.3pcap
+++ b/pcap_file.3pcap
@@ -1,4 +1,4 @@
-.\" @(#) $Header: /tcpdump/master/libpcap/pcap_file.3pcap,v 1.2 2008-04-05 20:26:56 guy Exp $
+.\" @(#) $Header: /tcpdump/master/libpcap/pcap_file.3pcap,v 1.3 2008-04-06 02:53:22 guy Exp $
.\"
.\" Copyright (c) 1994, 1996, 1997
.\" The Regents of the University of California. All rights reserved.
@@ -19,7 +19,7 @@
.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
-.TH PCAP_FILE 3PCAP "4 April 2008"
+.TH PCAP_FILE 3PCAP "5 April 2008"
.SH NAME
pcap_file \- get the standard I/O stream for a savefile being read
.SH SYNOPSIS
@@ -38,6 +38,10 @@ returns the standard I/O stream of the ``savefile,'' if a ``savefile''
was opened with
.BR pcap_open_offline() ,
or NULL, if a network device was opened with
+.B pcap_create()
+and
+.BR pcap_activate() ,
+or with
.BR pcap_open_live() .
.PP
Note that the Packet Capture library is usually built with large file
@@ -51,3 +55,5 @@ or the value returned by
.B fileno()
when passed the return value of
.BR pcap_file() .
+.SH SEE ALSO
+pcap(3PCAP), pcap_open_offline(3PCAP)