Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/nohup/
H A Dnohup.c60 static struct ps_prochandle *g_proc; variable
257 if (pr_fstat64(g_proc, fd, &sbuf) == -1 || in fd_cb()
258 sbuf.st_rdev != Ppsinfo(g_proc)->pr_ttydev) in fd_cb()
272 flags = pr_fcntl(g_proc, fd, F_GETFL, NULL); in fd_cb()
284 (void) pr_close(g_proc, fd); in fd_cb()
286 tmpfd = pr_open(g_proc, file, oflags, 0); in fd_cb()
291 Pstatus(g_proc)->pr_pid, file, strerror(errno)); in fd_cb()
297 (void) pr_fcntl(g_proc, tmpfd, F_DUP2FD, in fd_cb()
299 (void) pr_close(g_proc, tmpfd); in fd_cb()
304 (void) pr_fcntl(g_proc, *fdp, F_DUP2FD, (void *)(uintptr_t)fd); in fd_cb()
[all …]