---
name: "pcap_dump_file"
section: "3"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["freebsd"]
url: "https://new.carta.tech/pcap_dump_file"
---

# pcap\_dump\_file(3)

get the standard I/O stream for a savefile being written

## NAME

pcap\_dump\_file - get the standard I/O stream for a savefile being written

## SYNOPSIS

```
#include <pcap/pcap.h>
```

**FILE \*pcap\_dump\_file(pcap\_dumper\_t \*p);**

## DESCRIPTION

**pcap\_dump\_file**() returns the standard I/O stream of the \`\`savefile'' opened by [**pcap\_dump\_open**(3)](/pcap_dump_open/3.md).

## SEE ALSO

[**pcap**(3)](/pcap/3.md)
