getcurjob
static struct job *getcurjob(struct job *);
if ((j = getcurjob(NULL)) != NULL) {
if ((j = getcurjob(j)) != NULL)
if ((jp = getcurjob(NULL)) == NULL)
if ((jp = getcurjob(NULL)) == NULL ||
(jp = getcurjob(jp)) == NULL)