1PCAP_DUMP_FTELL(3PCAP) PCAP_DUMP_FTELL(3PCAP)
2
3
4
6 pcap_dump_ftell - get the current file offset for a savefile being
7 written
8
10 #include <pcap/pcap.h>
11
12 long pcap_dump_ftell(pcap_dumper_t *p);
13
15 pcap_dump_ftell() returns the current file position for the ``save‐
16 file'', representing the number of bytes written by pcap_dump_open()
17 and pcap_dump(). -1 is returned on error.
18
20 pcap(3PCAP), pcap_dump_open(3PCAP), pcap_dump(3PCAP)
21
22
23
24 5 April 2008 PCAP_DUMP_FTELL(3PCAP)