op_popt.c File Reference

Wrapper for libpopt - always use this rather than popt.h. More...

#include <stdlib.h>
#include <string.h>
#include "op_libiberty.h"
#include "op_popt.h"
Include dependency graph for op_popt.c:

Functions

poptContext op_poptGetContext (char const *name, int argc, char const **argv, struct poptOption const *options, int flags)
 op_poptGetContext - wrapper for popt

Detailed Description

Wrapper for libpopt - always use this rather than popt.h.

Remarks:
Copyright 2002 OProfile authors
Read the file COPYING
Author:
John Levon
Philippe Elie

Function Documentation

poptContext op_poptGetContext ( char const *  name,
int  argc,
char const **  argv,
struct poptOption const *  options,
int  flags 
)

op_poptGetContext - wrapper for popt

Use this instead of poptGetContext to cope with different popt versions. This also handle unrecognized options. All error are fatal.


Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1