1PCAP_DUMP_FLUSH(3PCAP) PCAP_DUMP_FLUSH(3PCAP)
2
3
4
6 pcap_dump_flush - flush to a savefile packets dumped
7
9 #include <pcap/pcap.h>
10
11 int pcap_dump_flush(pcap_dumper_t *p);
12
14 pcap_dump_flush() flushes the output buffer to the ``savefile,'' so
15 that any packets written with pcap_dump(3PCAP) but not yet written to
16 the ``savefile'' will be written.
17
19 pcap_dump_flush() returns 0 on success and PCAP_ERROR on failure.
20
22 pcap(3PCAP), pcap_dump_open(3PCAP)
23
24
25
26 25 July 2018 PCAP_DUMP_FLUSH(3PCAP)