2 #define _pm_findproc __pm_findproc
6 PUBLIC
int _pm_findproc(proc_name
, proc_nr
)
7 char *proc_name
; /* name of process to search for */
8 int *proc_nr
; /* return process number here */
13 m
.m1_i1
= -1; /* search by name */
14 m
.m1_i2
= strlen(proc_name
) + 1;
15 if (_syscall(MM
, GETPROCNR
, &m
) < 0) return(-1);