[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 1

pcap_dump_close Subroutine

Purpose

Closes a packet capture data file, know as a savefile.

Library

pcap Library (libpcap.a)

Syntax


#include <pcap.h>

void pcap_dump_close(pcap_dumper_t * p);

Description

The pcap_dump_close subroutine closes a packet capture data file, known as the savefile, that was opened using the pcap_dump_open subroutine.

Parameters

p Points to a pcap_dumper_t, which is synonymous with a FILE *, the file pointer of a savefile.

Related Information

The pcap_dump_open (pcap_dump_open Subroutine) subroutine.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]