1PCAP_DUMP_FLUSH(3PCAP)                                  PCAP_DUMP_FLUSH(3PCAP)
2
3
4

NAME

6       pcap_dump_flush - flush to a savefile packets dumped
7

SYNOPSIS

9       #include <pcap/pcap.h>
10
11       int pcap_dump_flush(pcap_dumper_t *p);
12

DESCRIPTION

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

RETURN VALUE

19       pcap_dump_flush() returns 0 on success and -1 on failure.
20

SEE ALSO

22       pcap(3PCAP), pcap_dump_open(3PCAP), pcap_dump(3PCAP)
23
24
25
26                                3 January 2014          PCAP_DUMP_FLUSH(3PCAP)
Impressum