]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - contrib/libpcap/pcap-config.1
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / contrib / libpcap / pcap-config.1
1 .\" @(#) $Header: /tcpdump/master/libpcap/pcap-config.1,v 1.1.2.2 2008-09-23 18:06:01 guy Exp $ (LBL)
2 .\"
3 .\" Copyright (c) 1987, 1988, 1989, 1990, 1991, 1992, 1994, 1995, 1996, 1997
4 .\"     The Regents of the University of California.  All rights reserved.
5 .\" All rights reserved.
6 .\"
7 .\" Redistribution and use in source and binary forms, with or without
8 .\" modification, are permitted provided that: (1) source code distributions
9 .\" retain the above copyright notice and this paragraph in its entirety, (2)
10 .\" distributions including binary code include the above copyright notice and
11 .\" this paragraph in its entirety in the documentation or other materials
12 .\" provided with the distribution, and (3) all advertising materials mentioning
13 .\" features or use of this software display the following acknowledgement:
14 .\" ``This product includes software developed by the University of California,
15 .\" Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
16 .\" the University nor the names of its contributors may be used to endorse
17 .\" or promote products derived from this software without specific prior
18 .\" written permission.
19 .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
20 .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
21 .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
22 .\"
23 .TH PCAP-CONFIG 1 "23 September 2008"
24 .SH NAME
25 pcap-config \- write libpcap compiler and linker flags to standard output
26 .SH SYNOPSIS
27 .na
28 .B pcap-config
29 [
30 .B \-\-cflags | \-\-libs
31 ]
32 .ad
33 .SH DESCRIPTION
34 .LP
35 When run with the
36 .B \-\-cflags
37 option,
38 .I pcap-config
39 writes to the standard output the
40 .B \-I
41 compiler flags required to include libpcap's header files.
42 When run with the
43 .B \-\-libs
44 option,
45 .I pcap-config
46 writes to the standard output the
47 .B \-L
48 and
49 .B \-l
50 linker required to link with libpcap, including
51 .B \-l
52 flags for libraries required by libpcap.
53 .SH "SEE ALSO"
54 pcap(3PCAP)