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() but not yet written to the
16 ``savefile'' will be written.
17
19 pcap_dump_flush() returns 0 on success and -1 on failure.
20
22 pcap(3PCAP), pcap_dump_open(3PCAP), pcap_dump(3PCAP)
23
24
25
26 3 January 2014 PCAP_DUMP_FLUSH(3PCAP)