Home
last modified time | relevance | path

Searched refs:initialpgrp (Results 1 – 1 of 1) sorted by relevance

/freebsd/bin/sh/
H A Djobs.c114 static pid_t initialpgrp; /* pgrp of shell on invocation */ variable
203 initialpgrp = tcgetpgrp(ttyfd); in setjobctl()
204 if (initialpgrp < 0) { in setjobctl()
208 if (initialpgrp != getpgrp()) { in setjobctl()
210 initialpgrp = -1; in setjobctl()
224 setpgid(0, initialpgrp); in setjobctl()
226 tcsetpgrp(ttyfd, initialpgrp); in setjobctl()