PCAP\_DUMP\_FILE(3PCAP) PCAP\_DUMP\_FILE(3PCAP)

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

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

```
FILE *pcap_dump_file(pcap_dumper_t *p);
```

# [DESCRIPTION](#DESCRIPTION)

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

# [SEE ALSO](#SEE_ALSO)

[**pcap**(3PCAP)](/man/os/libpcap/pcap.3PCAP)

3 January 2014

---

Document: pcap_dump_file(3pcap) from libpcap 1.11.0-r0 (Chainguard OS)
Source: https://github.com/the-tcpdump-group/libpcap.git
