Lines Matching refs:pid
19 int pid; member
34 *data = ((struct xterm_chan) { .pid = -1, in xterm_init()
88 int pid, fd, new, err; in xterm_open() local
137 pid = run_helper(NULL, NULL, argv); in xterm_open()
138 if (pid < 0) { in xterm_open()
139 err = pid; in xterm_open()
182 data->pid = pid; in xterm_open()
190 os_kill_process(pid, 1); in xterm_open()
201 if (data->pid != -1) in xterm_close()
202 os_kill_process(data->pid, 1); in xterm_close()
203 data->pid = -1; in xterm_close()