---
name: "pcap_dump_file"
section: "3pcap"
platform: "linux"
package: "libpcap"
version: "1.11.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux", "macos"]
url: "https://new.carta.tech/pcap_dump_file/3pcap"
---

# pcap\_dump\_file(3pcap)

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**(3PCAP).

## SEE ALSO

**pcap**(3PCAP)
