Lines Matching refs:fg
188 * to exit, but needs to wait until the fg job
207 * Wait on fg job until wait succeeds
224 statjob(struct job *jp, int stat, int fg, int rc)
233 if (!fg && jp->j_jid) {
244 if (fg) {
267 if (!fg || jp->j_xval != SIGINT) {
274 if (!fg && jp->j_jid) {
279 if (fg) {
412 restartjob(struct job *jp, int fg)
423 if (fg) {
438 if (fg) {
684 makejob(int monitor, int fg)
689 if (fg)
693 } else if (!fg) {
711 postjob(pid, fg)
713 int fg;
736 if (fg) {
844 * the builtin "fg" and "bg" commands
850 int fg;
855 fg = eq("fg", cmd);
865 restartjob(jp, fg);
868 restartjob(str2job(cmd, *argv, 1), fg);