Searched defs:pipe (Results 1 - 25 of 41) sorted by path

12

/illumos-gate/usr/src/cmd/avs/rdc/
H A Dsndrboot.c591 FILE *pipe; local
614 pipe = popen(cmd, "r");
616 if (pipe == NULL) {
617 rdc_err(NULL, gettext("Error opening pipe"));
619 rc = fscanf(pipe, "%s", lhostname);
620 (void) pclose(pipe);
/illumos-gate/usr/src/cmd/cron/
H A Dcron.c1366 FILE *pipe; local
1389 pipe = popen(temp, "w");
1390 if (pipe != NULL) {
1391 (void) fprintf(pipe, "To: %s\n", usrname);
1394 (void) fprintf(pipe, CRONTABERR);
1395 (void) fprintf(pipe, "Your \"crontab\" on %s\n",
1397 (void) fprintf(pipe, mesg);
1398 (void) fprintf(pipe,
1402 (void) fprintf(pipe, "Subject: %s\n\n", mesg);
1403 (void) fprintf(pipe,
[all...]
/illumos-gate/usr/src/cmd/make/lib/mksh/
H A Dmacro.cc904 FILE *pipe; local
916 if ((pipe = popen(mach_command, "r")) == NULL) {
919 while (fgets(mb_buf, sizeof(mb_buf), pipe) != NULL) {
923 if (pclose(pipe) != 0) {
959 FILE *pipe; local
971 if ((pipe = popen(arch_command, "r")) == NULL) {
974 while (fgets(mb_buf, sizeof(mb_buf), pipe) != NULL) {
978 if (pclose(pipe) != 0) {
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_frame.h56 mdb_cmd_t *f_pcmd; /* Next cmd in pipe (if pipe active) */
67 mdb_bool_t pipe; /* frame has pipe context */ member in struct:mdb_frame
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dgetcwd.c56 FILE *pipe; local
69 if((pipe = popen("pwd", "r")) == 0)
71 (void) fgets(arg1, arg2, pipe);
72 (void) pclose(pipe);
/illumos-gate/usr/src/lib/libbc/libc/sys/common/sparc/
H A Dpipe.s31 ENTRY(pipe) function
41 SET_SIZE(pipe)
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dpipe.c26 #pragma weak _pipe = pipe
32 pipe(int *fds) function
/illumos-gate/usr/src/lib/libdscfg/common/
H A Dcfg_cluster.c124 FILE *pipe; local
139 pipe = popen("/usr/sbin/clinfo -n 2>/dev/null || echo 0", "r");
140 if (pipe == NULL) {
148 if ((rc = fscanf(pipe, "%d", &id)) != 1) {
156 pclose(pipe);
/illumos-gate/usr/src/lib/libshell/amd64/include/ast/
H A Dshell.h245 # define pipe(a) sh_pipe(a) macro
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dshell.h234 # define pipe(a) sh_pipe(a) macro
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dio.c88 # define pipe(v) ((socketpair(AF_UNIX,SOCK_STREAM,0,v)<0||shutdown((v)[1],SHUT_RD)<0||fchmod((v)[1],S_IWUSR)<0||shutdown((v)[0],SHUT_WR)<0||fchmod((v)[0],S_IRUSR)<0)?(-1):0) macro
90 # define pipe(v) ((socketpair(AF_UNIX,SOCK_STREAM,0,v)<0||shutdown((v)[1],SHUT_RD)<0||shutdown((v)[0],SHUT_WR)<0)?(-1):0) macro
464 * A discipline is inserted when read stream is a tty or a pipe
801 * create a pipe and print message on failure
806 if(pipe(fd)<0 || (pv[0]=fd[0])<0 || (pv[1]=fd[1])<0)
900 * close a pipe
H A Dsubshell.c62 struct subshell *pipe; /* subshell where output goes to pipe on fork */ member in struct:subshell
81 short pipefd; /* read fd if pipe is created */
98 * This routine will turn the sftmp() file into a real /tmp file or pipe
106 register struct subshell *sp = subshell_data->pipe;
150 /* write the data to the pipe */
197 if(sp->pipe)
549 sp->pipe = sp;
570 sp->pipe = sp->prev->pipe;
[all...]
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Doptions.sh237 pipefail pipe-fail pipe_fail \
401 (( $? )) || err_exit 'pipe not failing in subshell with pipefail'
407 pipe() { date | cat > /dev/null ;} function
410 do if pipe $tmp
/illumos-gate/usr/src/lib/libshell/i386/include/ast/
H A Dshell.h245 # define pipe(a) sh_pipe(a) macro
/illumos-gate/usr/src/lib/libshell/sparc/include/ast/
H A Dshell.h245 # define pipe(a) sh_pipe(a) macro
/illumos-gate/usr/src/lib/libshell/sparcv9/include/ast/
H A Dshell.h245 # define pipe(a) sh_pipe(a) macro
/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/
H A Dlibmlrpc.h431 ndr_pipe_t *pipe; member in struct:ndr_xa
H A Dndr_svc.c216 hd->nh_pipe = xa->pipe;
292 * Called when a pipe is closed to release any associated handles.
295 ndr_hdclose(ndr_pipe_t *pipe) argument
306 if (hd->nh_pipe == pipe) {
/illumos-gate/usr/src/uts/common/io/atu/
H A Datu.c597 atu_rxeof(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
657 atu_txeof(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
/illumos-gate/usr/src/uts/common/io/rum/
H A Drum.c475 rum_txeof(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
506 rum_rxeof(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1509 "rum_open_pipes(): %x failed to open tx pipe\n", err);
1523 "rum_open_pipes(): %x failed to open rx pipe\n", err);
/illumos-gate/usr/src/uts/common/io/uath/
H A Duath.c454 "find pipe %x\n", ep_descr->bEndpointAddress);
463 "failed to open rx data pipe, err = %x\n",
473 "find pipe %x\n",
483 "failed to open tx command pipe, err = %x\n",
492 "find pipe %x\n",
502 "failed to open tx pipe, err = %x\n",
511 "find pipe %x\n",
521 "failed to open rx command pipe, err = %x\n",
640 uath_fw_send(struct uath_softc *sc, usb_pipe_handle_t pipe, argument
657 res = usb_pipe_bulk_xfer(pipe, send_re
1203 uath_cmd_txeof(usb_pipe_handle_t pipe, struct usb_bulk_req *req) argument
1224 uath_tx_cmd_xfer(struct uath_softc *sc, usb_pipe_handle_t pipe, const void *data, uint_t len) argument
1389 uath_cmd_rxeof(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1490 uath_data_txeof(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1556 uath_data_rxeof(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ural/
H A Dural.c410 ural_txeof(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
441 ural_rxeof(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1503 "ural_open_pipes(): %x failed to open tx pipe\n", err);
1517 "ural_open_pipes(): %x failed to open rx pipe\n", err);
/illumos-gate/usr/src/uts/common/io/urtw/
H A Durtw.c2508 urtw_rxeof(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
2897 urtw_txeof_low(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
2926 urtw_txeof_normal(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
3792 "urtw_open_pipes(): %x low priority pipe open failed\n",
3807 "urtw_open_pipes(): %x failed to open high tx pipe\n",
3822 "urtw_open_pipes(): %x failed to open rx pipe\n", err));
/illumos-gate/usr/src/uts/common/io/usb/clients/hid/
H A Dhid.c481 * Save a copy of the default pipe for easy reference
553 * initialize the pipe policy for the interrupt pipe.
769 * Open entry point: Opens the interrupt pipe. Sets up queues.
864 /* Open the interrupt pipe */
897 "unable to start intr pipe polling. rval = %d", rval);
989 * the default pipe, wait forever for them to complete.
1375 * Callback function for the hid intr pipe. This function is called by
1380 hid_interrupt_pipe_callback(usb_pipe_handle_t pipe, usb_intr_req_t *req) argument
1387 (void *)pipe, (voi
1437 hid_default_pipe_callback(usb_pipe_handle_t pipe, usb_ctrl_req_t *req) argument
1501 hid_interrupt_pipe_exception_callback(usb_pipe_handle_t pipe, usb_intr_req_t *req) argument
1558 hid_default_pipe_exception_callback(usb_pipe_handle_t pipe, usb_ctrl_req_t *req) argument
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/printer/
H A Dusbprn.c1014 "usbprn_open: pipe open failed");
1193 * Check the status of the pipe. If it's not idle,
1643 * Intitialize the pipe policy for the bulk out pipe
1650 /* Open bulk_out pipe */
1659 /* Open the bulk in pipe if one exists */
1662 * Initialize the pipe policy for the Bulk In pipe
1669 /* Open bulk_in pipe */
1712 * close the pipe, i
2338 usbprn_bulk_xfer_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
2391 usbprn_bulk_xfer_exc_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
[all...]

Completed in 243 milliseconds

12