libexplain  1.4.D001
Functions
libexplain/lsof.c File Reference
#include <libexplain/ac/ctype.h>
#include <libexplain/ac/limits.h>
#include <libexplain/ac/stdio.h>
#include <libexplain/ac/stdlib.h>
#include <libexplain/ac/sys/param.h>
#include <libexplain/lsof.h>
#include <libexplain/option.h>

Go to the source code of this file.

Functions

void explain_lsof (const char *lsof_options, explain_lsof_t *context)

Function Documentation

void explain_lsof ( const char *  options,
explain_lsof_t context 
)

The explain_lsof function may be used to

Parameters:
optionsThe options to be passed to the lsof(1) command.
contextThe context, used to remember pid and fildes, and call the appropriate callbacks, as the data is seen.

Definition at line 31 of file lsof.c.