source: lib/pcap_dump_flush.c @ a21af3d

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since a21af3d was a21af3d, checked in by Perry Lorier <perry@…>, 15 years ago

Kill dead (commented out) code

  • Property mode set to 100644
File size: 277 bytes
Line 
1#include "config.h"
2
3#ifndef HAVE_PCAP_DUMP_FLUSH
4#include <stdio.h>
5#include <pcap.h>
6#ifdef HAVE_PCAP_INT_H
7# include <pcap-int.h>
8#endif
9#include <string.h>
10
11int pcap_dump_flush(pcap_dumper_t *p) {
12        if (fflush((FILE *)p) == EOF)
13                return (-1);
14        else
15                return (0);
16}
17
18#endif
Note: See TracBrowser for help on using the repository browser.