openbsd-ports/sysutils/proctools/patches/patch-proctools_proctools_h
lebel ab2982a2ca initial import of sysutils/proctools 0.3:
--
Submitted by James Devenish (j-devenish@users.sourceforge.net)
Modified by danh@

Proctools  provides  the  pgrep and pkill commands which can
scan for and send signals to processes that are  matched  by
command-line options.

The  pgrep  utility displays process IDs for those processes
that match the requirements specified on the command line.

The pkill utility sends a signal to process  IDs  for  those
processes  that match the requirements specified on the com-
mand line.

WWW: http://sourceforge.net/projects/proctools
2003-01-06 18:03:44 +00:00

14 lines
843 B
Plaintext

$OpenBSD: patch-proctools_proctools_h,v 1.1.1.1 2003/01/06 18:03:44 lebel Exp $
Support the -V flag.
--- proctools/proctools.h.orig Tue May 22 06:23:55 2001
+++ proctools/proctools.h Mon Jan 6 22:19:44 2003
@@ -46,7 +46,7 @@ int matchGroupList __P((struct grouplist
int matchPidList __P((struct pidlist *, pid_t));
int matchTermList __P((struct termlist *, dev_t));
int pushProcList __P((struct proclist **, pid_t, char*));
-int getProcList __P((struct proclist **, struct uidlist *, struct uidlist *, struct grouplist *, struct pidlist *, struct pidlist *, struct termlist *, int, int, int, int, char *));
+int getProcList __P((struct proclist **, struct uidlist *, struct uidlist *, struct grouplist *, struct pidlist *, struct pidlist *, struct termlist *, int, int, int, int, int, char *));
__END_DECLS
#endif /* !_PROCTOOLS_H_ */