1 /* showfile.c - invoke lproc */
17 (void) fflush (stdout);
19 if (strcmp (r1bindex (lproc, '/'), "mhl") == 0)
22 switch (pid = vfork ()) {
24 advise ("fork", "unable to");
29 vec[vecp++] = r1bindex (lproc, '/');
38 if (strcmp (vec[0], "show") == 0)
39 vec[vecp++] = "-file";
45 fprintf (stderr, "unable to exec ");
50 return (pidwait (pid, NOTOK) & 0377 ? 1 : 0);