/usr/include/wvstreams/wvprociter.h is in libwvstreams-dev 4.6.1-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | /* -*- Mode: C++ -*-
* Worldvisions Weaver Software:
* Copyright (C) 1997-2002 Net Integration Technologies, Inc.
*
* Process iterator. Iterates through the running processes.
*
*/
#ifndef __WVPROCITER_H
#define __WVPROCITER_H
#include "wvdiriter.h"
#include "wvstringlist.h"
struct WvProcEnt
{
pid_t pid;
WvString exe;
WvStringList cmdline;
};
class WvProcIter
{
private:
WvDirIter dir_iter;
WvProcEnt proc_ent;
public:
WvProcIter();
~WvProcIter();
bool isok() const;
void rewind();
bool next();
const WvProcEnt *ptr() const { return &proc_ent; }
WvIterStuff(const WvProcEnt);
};
bool wvkillall(WvStringParm basename, int sig);
#endif
|