Searched refs:pipe (Results 1 - 25 of 72) sorted by relevance

123

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IO/t/
H A Dio_pipe.t35 $pipe = new IO::Pipe->reader($perl, '-e', 'print "not ok 1\n"');
36 while (<$pipe>) {
40 $pipe->close or print "# \$!=$!\nnot ";
44 $pipe = new IO::Pipe->writer($perl, '-pe', $cmd);
45 print $pipe "not ok 3\n" ;
46 $pipe->close or print "# \$!=$!\nnot ";
56 $pipe = new IO::Pipe;
62 $pipe->writer;
63 print $pipe "Xk 5\n";
64 print $pipe "o
[all...]
/osnet-11/usr/src/lib/libc/amd64/sys/
H A Dpipe.s26 .file "pipe.s"
30 ANSI_PRAGMA_WEAK(pipe,function)
34 ENTRY(pipe) function
36 SYSTRAP_2RVALS(pipe)
42 SET_SIZE(pipe)
/osnet-11/usr/src/lib/libc/i386/sys/
H A Dpipe.s26 .file "pipe.s"
30 ANSI_PRAGMA_WEAK(pipe,function)
34 ENTRY(pipe) function
35 SYSTRAP_2RVALS(pipe)
41 SET_SIZE(pipe)
/osnet-11/usr/src/lib/libc/sparc/sys/
H A Dpipe.s33 /* C library -- pipe */
34 /* int pipe (int fildes[2]); */
36 .file "pipe.s"
40 ANSI_PRAGMA_WEAK(pipe,function)
44 ENTRY(pipe) function
46 SYSTRAP_2RVALS(pipe)
52 SET_SIZE(pipe)
/osnet-11/usr/src/lib/fm/libldom/sparc/
H A Dldom_utils.c40 if (pipe(notify_pipe) < 0) {
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/io/
H A Dpipe.t10 skip_all("fork required to pipe");
56 pipe(READER,WRITER) || die "Can't open pipe";
70 printf WRITER "not ok %d - pipe & fork\n", curr_test;
87 pipe(READER,WRITER) || die "Can't open pipe";
111 # Sfio doesn't report failure when closing a broken pipe
116 skip "Won't report failure on broken pipe", 1
125 ok( !close NIL, 'close error on broken pipe' );
128 ok(close NIL, 'print failed on broken pipe');
[all...]
/osnet-11/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);
/osnet-11/usr/src/lib/libfsmgt/common/
H A Dcmd.c86 if (pipe(output) == -1) {
90 if (pipe(error) == -1) {
187 if (pipe(output) == -1) {
/osnet-11/usr/src/lib/libgen/common/
H A Dp2open.c30 * Similar to popen(3S) but with pipe to cmd's stdin and from stdout.
73 if (pipe(tocmd) < 0 || pipe(fromcmd) < 0)
/osnet-11/usr/src/lib/krb5/ss/
H A Dpager.c60 if (pipe(filedes) != 0)
75 * Parent: close "read" side of pipe, return
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A DFileHandle.t77 ($rd,$wr) = FileHandle::pipe;
H A DEnglish.t37 pipe(IN, OUT);
/osnet-11/usr/src/lib/libmail/common/
H A Dpopenvp.c70 if (pipe(p) < 0)
/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpassprompt.c41 if (pipe(p)) {
42 warn("Can't make a pipe for %s", promptprog);
80 /* we are the parent, read the password from the pipe */
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dfork.t361 pipe($child, $parent) or die;
383 pipe($parent, $child) or die;
430 pipe(RDR,WTR) or die $!;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/IPC/
H A DOpen3.t95 ok 14, pipe PIPE_READ, PIPE_WRITE;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Tie/File/t/
H A D16_handle.t83 print "ok $N # skipped ($^O has broken pipe semantics)\n";
90 my $pipe_succeeded = eval {pipe *R, *W};
96 print "ok $N # skipped (pipe call failed: $!)\n";
109 print "not ok $N \# passing pipe to TIEARRAY didn't abort program\n";
/osnet-11/usr/src/lib/libcmdutils/common/
H A Ddecompress.c53 /* output pipe (compressor reads the other end of pipe) */
76 * the input. The stdout would be a pipe, the read end
87 * the input. The stdout would be a pipe, the read end
94 * create pipe
95 * write header that was read from input file to pipe.
96 * spawn worker thread that copies remainder of input file to pipe.
97 * return other end of pipe to caller.
164 if (pipe(fd) < 0)
212 * The other end of pipe ma
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Sys/Syslog/t/
H A Dsyslog.t121 for my $sock_type (qw(native eventlog unix pipe stream inet tcp udp)) {
124 if $sock_type eq 'stream' and grep {/pipe|unix/} @passed;
/osnet-11/usr/src/lib/libshell/common/include/
H A Dshell.h237 # define pipe(a) sh_pipe(a) macro
/osnet-11/usr/src/grub/grub2/build-bios/ccas_wrap/
H A Dccas_wrap.c123 /* Create the stdout -> stdin pipe */
124 if (pipe(pipefds) < 0) {
125 fprintf(stderr, "Error creating pipe(): %s", strerror(errno));
143 /* Close pipe fds */
/osnet-11/usr/src/grub/grub2/build-uefi64/ccas_wrap/
H A Dccas_wrap.c123 /* Create the stdout -> stdin pipe */
124 if (pipe(pipefds) < 0) {
125 fprintf(stderr, "Error creating pipe(): %s", strerror(errno));
143 /* Close pipe fds */
/osnet-11/usr/src/grub/grub2/ccas_wrap/
H A Dccas_wrap.c123 /* Create the stdout -> stdin pipe */
124 if (pipe(pipefds) < 0) {
125 fprintf(stderr, "Error creating pipe(): %s", strerror(errno));
143 /* Close pipe fds */
/osnet-11/usr/src/cmd/hal/hald/
H A Dhald.c265 /* Empty the pipe */
268 HAL_ERROR (("Error emptying sigterm pipe: %s",
480 if (pipe (startup_daemonize_pipe) != 0) {
481 fprintf (stderr, "Could not setup pipe: %s\n", strerror(errno));
539 * evil though, so set up a pipe to transmit the signal.
542 /* create pipe */
543 if (pipe (sigterm_unix_signal_pipe_fds) != 0) {
544 DIE (("Could not setup pipe, errno=%d", errno));
/osnet-11/usr/src/lib/libast/common/comp/
H A Dspawnveg.c188 if (pipe(err) < 0)

Completed in 39 milliseconds

123