lockchk
int lockchk(struct printer *_pp, char *_slockf);
if (lockchk(pp, pp->lock_file) && chk(current)) {