Searched refs:pipe (Results 76 - 100 of 300) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/tcp_wrappers/
H A Dsafe_finger.c145 /* pipe_stdin - pipe stdin through program (from my ANSI to OLD C converter) */
156 * The code that sets up the pipe requires that file descriptors 0,1,2
168 * Set up the pipe that interposes the command into our standard input
172 if (pipe(pipefds))
173 perror_exit("pipe");
181 (void) close(1); /* connect stdout to pipe */
190 (void) close(0); /* connect stdin to pipe */
/freebsd-11-stable/contrib/opie/
H A Dpopen.c1 /* popen.c: A "safe" pipe open routine.
20 Modified at NRL for OPIE 2.1. Optimized for only one pipe at a time.
97 * may create a pipe to a hidden program as a side effect of a list or dir
115 if (pipe(pdes) < 0)
/freebsd-11-stable/contrib/bmake/mk/sys/
H A DDarwin.mk28 CC?= gcc -pipe
30 CC?= cc -pipe
H A DLinux.mk30 CC= gcc -pipe
34 CC= cc -pipe
/freebsd-11-stable/tests/sys/file/
H A Dftruncate_test.c154 if (pipe(fds) < 0)
155 err(1, "pipe");
157 errx(-1, "ftruncate(pipe) succeeded");
159 err(1, "ftruncate(pipe) returned wrong error");
/freebsd-11-stable/lib/libc/tests/stdio/
H A Dgets_s_test.c67 pipe(fd);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_pipe.c71 atf_tc_set_md_var(tc, "descr", "Checks that writing to pipe "
95 RL(pipe(pp));
148 /* Close the pipe, so that child would stop reading */
H A Dt_posix_fadvise.c99 RL(pipe(pipe_fds));
/freebsd-11-stable/sys/modules/linux64/
H A DMakefile33 -pipe -I. -I${SYSDIR} ${WERROR} -Wall -fno-common -fPIC -nostdinc \
/freebsd-11-stable/contrib/sendmail/libsm/
H A Dnotify.c61 if (pipe(Notifypipe) < 0)
/freebsd-11-stable/contrib/netbsd-tests/lib/libcurses/director/
H A Ddirector.c57 int cmdpipe[2]; /* command pipe between director and slave */
58 int slvpipe[2]; /* reply pipe back from slave */
224 if (pipe(cmdpipe) < 0)
225 err(1, "Command pipe creation failed");
227 if (pipe(slvpipe) < 0)
228 err(1, "Slave pipe creation failed");
/freebsd-11-stable/contrib/nvi/ex/
H A Dex_filter.c78 * input pipe.
82 if (ftype != FILTER_READ && pipe(input) < 0) {
83 msgq(sp, M_SYSERR, "pipe");
87 /* Open up utility output pipe. */
88 if (pipe(output) < 0) {
89 msgq(sp, M_SYSERR, "pipe");
114 * Redirect stdin from the read end of the input pipe, and
115 * redirect stdout/stderr to the write end of the output pipe.
118 * Historically, ex only directed stdout into the input pipe,
120 * not, directing both stdout and stderr into the input pipe
[all...]
/freebsd-11-stable/sys/kern/
H A Dcapabilities.conf484 ## Allow pipe(2).
486 pipe
/freebsd-11-stable/usr.bin/newkey/
H A Dupdate.c151 if (pipe(pdto) < 0) {
154 if (pipe(pdfrom) < 0) {
/freebsd-11-stable/usr.sbin/rpc.ypupdated/
H A Dupdate.c155 if (pipe(pdto) < 0) {
158 if (pipe(pdfrom) < 0) {
/freebsd-11-stable/sys/dev/usb/controller/
H A Davr32dci.c1019 DPRINTFN(13, "xfer=%p pipe=%p transfer done\n",
1071 DPRINTFN(9, "xfer=%p, pipe=%p, error=%d\n",
1094 struct usb_endpoint *pipe, uint8_t *did_stall)
1101 DPRINTFN(5, "pipe=%p\n", pipe);
1105 ep_no = (pipe->edesc->bEndpointAddress & UE_ADDR);
1176 avr32dci_clear_stall(struct usb_device *udev, struct usb_endpoint *pipe) argument
1181 DPRINTFN(5, "pipe=%p\n", pipe);
1194 ed = pipe
1093 avr32dci_set_stall(struct usb_device *udev, struct usb_endpoint *pipe, uint8_t *did_stall) argument
2045 avr32dci_ep_init(struct usb_device *udev, struct usb_endpoint_descriptor *edesc, struct usb_endpoint *pipe) argument
[all...]
/freebsd-11-stable/tests/sys/kern/
H A Dreaper.c58 r = pipe(pip);
173 r = pipe(pip);
323 r = pipe(pip);
398 r = pipe(pipa);
400 r = pipe(pipb);
596 r = pipe(pip);
655 r = pipe(pip);
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dntpd.c560 int pipe[2],
581 close(pipe[1]);
582 pipe[1] = -1;
584 pipe[0], wait_sync);
589 * EOF on the monitor pipe.
610 close_all_except(pipe[1]);
611 pipe[0] = -1;
975 if ( !nofork && pipe(daemon_pipe)) {
559 detach_from_terminal( int pipe[2], long wait_sync, const char *logfilename ) argument
/freebsd-11-stable/sys/dev/drm2/i915/
H A Di915_debug.c298 const char pipe = pipe_name(crtc->pipe); local
305 seq_printf(m, "No flip due on pipe %c (plane %c)\n",
306 pipe, plane);
309 seq_printf(m, "Flip queued on pipe %c (plane %c)\n",
310 pipe, plane);
312 seq_printf(m, "Flip pending (waiting for vsync) on pipe %c (plane %c)\n",
313 pipe, plane);
402 int i, pipe; local
416 for_each_pipe(pipe)
[all...]
H A Dintel_panel.c321 enum pipe pipe)
347 tmp |= BLM_PIPE(pipe);
320 intel_panel_enable_backlight(struct drm_device *dev, enum pipe pipe) argument
H A Dintel_tv.c842 intel_tv_get_hw_state(struct intel_encoder *encoder, enum pipe *pipe) argument
851 *pipe = PORT_TO_PIPE(tmp);
946 int pipe = intel_crtc->pipe; local
1018 if (intel_crtc->pipe == 1)
1090 int pipeconf_reg = PIPECONF(pipe);
1102 intel_wait_for_vblank(dev, intel_crtc->pipe);
1106 intel_wait_for_pipe_off(dev, intel_crtc->pipe);
1163 * Requires that the current pipe'
[all...]
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/
H A Dbench.c189 if (pipe(cp) == -1) {
193 perror("pipe");
/freebsd-11-stable/contrib/groff/src/include/
H A Dnonposix.h57 # define pipe(pfd) _pipe((pfd),0,_O_BINARY|_O_NOINHERIT) macro
136 * are prone to hanging when a pipe reader quits with unread data in the pipe.
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dpopen.c70 * no one may create a pipe to a hidden program as a side effect of a
124 if (pipe(pdes) < 0)
/freebsd-11-stable/lib/libc/tests/gen/
H A Dfmtmsg_test.c170 if (pipe(pip) == -1)
171 err(2, "pipe");

Completed in 347 milliseconds

1234567891011>>