Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/gss/gssd/
H A Dgssd.c238 int pipe_fds[2]; in daemonize_start() local
246 chdir("/") < 0 || pipe(pipe_fds) < 0) in daemonize_start()
250 write_pipe_fd = pipe_fds[1]; in daemonize_start()
260 (void) close(pipe_fds[1]); in daemonize_start()
262 (void) read(pipe_fds[0], &status, sizeof (status)); in daemonize_start()
266 (void) close(pipe_fds[0]); in daemonize_start()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dinetd.c3736 int pipe_fds[2]; in start_method() local
3740 if (pipe(pipe_fds) < 0) { in start_method()
3747 (void) close(pipe_fds[PE_CONSUMER]); in start_method()
3748 (void) close(pipe_fds[PE_PRODUCER]); in start_method()
3753 (void) close(pipe_fds[PE_PRODUCER]); in start_method()
3754 if ((safe_read(pipe_fds[PE_CONSUMER], &i, sizeof (i)) != 0) || in start_method()
3758 (void) close(pipe_fds[PE_CONSUMER]); in start_method()
3765 (void) close(pipe_fds[PE_CONSUMER]); in start_method()
3773 (void) close(pipe_fds[PE_CONSUMER]); in start_method()
3775 if ((safe_write(pipe_fds[PE_PRODUCER], &i, sizeof (i)) < 0) || in start_method()
[all …]