Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/nohup/
H A Dnohup.c58 static struct ps_prochandle *g_proc; variable
255 if (pr_fstat64(g_proc, fd, &sbuf) == -1 || in fd_cb()
256 sbuf.st_rdev != Ppsinfo(g_proc)->pr_ttydev) in fd_cb()
270 flags = pr_fcntl(g_proc, fd, F_GETFL, NULL, 0); in fd_cb()
282 (void) pr_close(g_proc, fd); in fd_cb()
284 tmpfd = pr_open(g_proc, file, oflags, 0); in fd_cb()
289 Pstatus(g_proc)->pr_pid, file, strerror(errno)); in fd_cb()
295 (void) pr_fcntl(g_proc, tmpfd, F_DUP2FD, in fd_cb()
297 (void) pr_close(g_proc, tmpfd); in fd_cb()
302 (void) pr_fcntl(g_proc, *fdp, F_DUP2FD, (void *)(uintptr_t)fd, in fd_cb()
[all …]