Home
last modified time | relevance | path

Searched refs:sigpipe (Results 1 – 25 of 680) sorted by relevance

12345678910>>...28

/dports/net/pptpclient/pptp-1.10.0/
H A Dutil.c87 static int sigpipe[2]; variable
94 rc = pipe(sigpipe); in sigpipe_create()
97 fcntl(sigpipe[0], F_SETFD, FD_CLOEXEC); in sigpipe_create()
98 fcntl(sigpipe[1], F_SETFD, FD_CLOEXEC); in sigpipe_create()
110 rc = fcntl(sigpipe[1], F_GETFL); in sigpipe_create()
112 rc = fcntl(sigpipe[1], F_SETFL, rc | FLAG_TO_SET); in sigpipe_create()
121 write(sigpipe[1], &signum, sizeof(signum)); in sigpipe_handler()
138 return sigpipe[0]; in sigpipe_fd()
145 read(sigpipe[0], &signum, sizeof(signum)); in sigpipe_read()
151 close(sigpipe[0]); in sigpipe_close()
[all …]
/dports/devel/gnulib/gnulib-20140202-stable/modules/
H A Dsigpipe-die5 lib/sigpipe-die.h
6 lib/sigpipe-die.c
12 sigpipe
19 lib_SOURCES += sigpipe-die.h sigpipe-die.c
22 "sigpipe-die.h"
H A Dsigpipe-tests2 tests/test-sigpipe.c
3 tests/test-sigpipe.sh
11 TESTS += test-sigpipe.sh
12 check_PROGRAMS += test-sigpipe
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/modules/
H A Dsigpipe-die5 lib/sigpipe-die.h
6 lib/sigpipe-die.c
12 sigpipe
19 lib_SOURCES += sigpipe-die.h sigpipe-die.c
22 "sigpipe-die.h"
H A Dsigpipe-tests2 tests/test-sigpipe.c
3 tests/test-sigpipe.sh
12 TESTS += test-sigpipe.sh
13 check_PROGRAMS += test-sigpipe
/dports/ftp/profxp/profxp/profxp/
H A Dtcp.pm34 my $sigpipe = 0;
70 $sigpipe = 1;
77 $sigpipe = 0;
270 ($sigpipe) ||
307 ($sigpipe) ||
380 $sigpipe = 0;
397 while(($f->recv($_,1,MSG_PEEK)) && (!$sigpipe) ) {
410 if ($sigpipe) {
416 while( ($_ = <$f>) && (!$sigpipe) ) {
424 if ($sigpipe) {
[all …]
/dports/archivers/rpm4/rpm-4.16.1.3/tests/
H A Drpmio.at12 #runroot rpmbuild --quiet --with manyfiles -bb /data/SPECS/sigpipe.spec
13 #runroot rpm -qpl /build/RPMS/noarch/sigpipe-1.0-1.noarch.rpm --pipe "cat" | head -1
16 #[/opt/sigpipe/data
26 runroot rpmbuild --quiet -bb /data/SPECS/sigpipe.spec
27 runroot rpm -U --nodeps /build/RPMS/noarch/sigpipe-1.0-1.noarch.rpm
43 #run rpmbuild --quiet --with buildpipe -bb "${RPMDATA}/SPECS/sigpipe.spec"
/dports/devel/p5-IO-Async/IO-Async-0.800/lib/IO/Async/
H A DOS.pm612 my ( $reader, $sigpipe ) = $self->pipepair or croak "Cannot pipe() - $!";
613 $_->blocking( 0 ) for $reader, $sigpipe;
615 $loop->{os}{sigpipe} = $sigpipe;
630 return $sigpipe;
644 my $sigpipe = $loop->{os}{sigpipe} // $self->_setup_sigpipe( $loop );
647 $SIG{$signal} = sub { syswrite $sigpipe, $signum_str };
684 if( $loop->{os}{sigpipe} ) {
686 undef $loop->{os}{sigpipe};
/dports/databases/grass7/grass-7.8.6/lib/gis/
H A Dpager.c10 static void (*sigpipe)(int); variable
27 sigpipe = signal(SIGPIPE, SIG_IGN); in G_open_pager()
40 if (sigpipe) in G_close_pager()
41 signal(SIGPIPE, sigpipe); in G_close_pager()
/dports/ftp/ncftp3/ncftp-3.2.6/sio/
H A DSClose.c30 volatile sio_sigproc_t sigpipe = (sio_sigproc_t) 0; in SClose() local
71 (void) SSignal(SIGPIPE, (sio_sigproc_t) sigpipe); in SClose()
78 sigpipe = (sio_sigproc_t) SSignal(SIGPIPE, SIG_IGN); in SClose()
99 (void) SSignal(SIGPIPE, (sio_sigproc_t) sigpipe); in SClose()
H A Dsio.h95 # define DECL_SIGPIPE_VARS sio_sigproc_t sigpipe = (sio_sigproc_t) 0;
96 # define IGNORE_SIGPIPE sigpipe = sio_sigpipe_ignored_already ? (sio_sigproc_t) 0 : signal(SIGPIPE…
97 # define RESTORE_SIGPIPE if ((sigpipe != (sio_sigproc_t) 0) && (sigpipe != SIG_IGN)) {(void) signa…
/dports/net/x11vnc/x11vnc-0.9.16/src/
H A Dcleanup.c717 if (!sigpipe || *sigpipe == '\0' || !strcmp(sigpipe, "skip")) { in initialize_signals()
719 } else if (strstr(sigpipe, "ignore:") == sigpipe) { in initialize_signals()
720 ignore_sigs(sigpipe); in initialize_signals()
721 } else if (strstr(sigpipe, "exit:") == sigpipe) { in initialize_signals()
722 ignore_sigs(sigpipe); in initialize_signals()
723 } else if (!strcmp(sigpipe, "ignore")) { in initialize_signals()
727 } else if (!strcmp(sigpipe, "exit")) { in initialize_signals()
/dports/www/ikiwiki/ikiwiki-3.20200202.3/IkiWiki/Plugin/
H A Dhtmltidy.pm47 my $sigpipe=0;
48 $SIG{PIPE}=sub { $sigpipe=1 };
64 if ($sigpipe || ! defined $ret) {
H A Deditdiff.pm30 my $sigpipe=0;
31 $SIG{PIPE} = sub { $sigpipe=1; };
51 return "couldn't run diff\n" if $sigpipe;
/dports/devel/gnulib/gnulib-20140202-stable/tests/
H A Dtest-sigpipe.sh8 ./test-sigpipe${EXEEXT} A 2> t-sigpipeA.tmp | head -1 > /dev/null
16 ./test-sigpipe${EXEEXT} B 2> t-sigpipeB.tmp | head -1 > /dev/null
24 ./test-sigpipe${EXEEXT} B 2> t-sigpipeC.tmp | head -1 > /dev/null
/dports/devel/gettext-tools/gettext-0.21/gettext-tools/gnulib-tests/
H A Dtest-sigpipe.sh8 ${CHECKER} ./test-sigpipe${EXEEXT} A 2> t-sigpipeA.tmp | head -1 > /dev/null
16 ${CHECKER} ./test-sigpipe${EXEEXT} B 2> t-sigpipeB.tmp | head -1 > /dev/null
24 ${CHECKER} ./test-sigpipe${EXEEXT} C 2> t-sigpipeC.tmp | head -1 > /dev/null
/dports/devel/m4/m4-1.4.19/tests/
H A Dtest-sigpipe.sh8 ${CHECKER} ./test-sigpipe${EXEEXT} A 2> t-sigpipeA.tmp | head -1 > /dev/null
16 ${CHECKER} ./test-sigpipe${EXEEXT} B 2> t-sigpipeB.tmp | head -1 > /dev/null
24 ${CHECKER} ./test-sigpipe${EXEEXT} C 2> t-sigpipeC.tmp | head -1 > /dev/null
/dports/devel/gettext-po-mode/gettext-0.21/gettext-tools/gnulib-tests/
H A Dtest-sigpipe.sh8 ${CHECKER} ./test-sigpipe${EXEEXT} A 2> t-sigpipeA.tmp | head -1 > /dev/null
16 ${CHECKER} ./test-sigpipe${EXEEXT} B 2> t-sigpipeB.tmp | head -1 > /dev/null
24 ${CHECKER} ./test-sigpipe${EXEEXT} C 2> t-sigpipeC.tmp | head -1 > /dev/null
/dports/devel/gettext-runtime/gettext-0.21/gettext-tools/gnulib-tests/
H A Dtest-sigpipe.sh8 ${CHECKER} ./test-sigpipe${EXEEXT} A 2> t-sigpipeA.tmp | head -1 > /dev/null
16 ${CHECKER} ./test-sigpipe${EXEEXT} B 2> t-sigpipeB.tmp | head -1 > /dev/null
24 ${CHECKER} ./test-sigpipe${EXEEXT} C 2> t-sigpipeC.tmp | head -1 > /dev/null
/dports/devel/libtextstyle/gettext-0.21/gettext-tools/gnulib-tests/
H A Dtest-sigpipe.sh8 ${CHECKER} ./test-sigpipe${EXEEXT} A 2> t-sigpipeA.tmp | head -1 > /dev/null
16 ${CHECKER} ./test-sigpipe${EXEEXT} B 2> t-sigpipeB.tmp | head -1 > /dev/null
24 ${CHECKER} ./test-sigpipe${EXEEXT} C 2> t-sigpipeC.tmp | head -1 > /dev/null
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/tests/
H A Dtest-sigpipe.sh8 ${CHECKER} ./test-sigpipe${EXEEXT} A 2> t-sigpipeA.tmp | head -1 > /dev/null
16 ${CHECKER} ./test-sigpipe${EXEEXT} B 2> t-sigpipeB.tmp | head -1 > /dev/null
24 ${CHECKER} ./test-sigpipe${EXEEXT} C 2> t-sigpipeC.tmp | head -1 > /dev/null
/dports/devel/py-wsgitools/wsgitools-0.3.1/wsgitools/scgi/
H A Dforkpool.py238 self.sigpipe = None # becomes a pair socketpair endpoints
265 self.sigpipe = socket.socketpair()
274 rs.append(self.sigpipe[0])
282 if s == self.sigpipe[0]:
283 self.sigpipe[0].recv(1)
306 self.sigpipe[0].close()
307 self.sigpipe[1].close()
308 self.sigpipe = None
335 self.sigpipe[1].send(b' ')
/dports/x11/kf5-kinit/kinit-5.89.0/src/klauncher/
H A Dklauncher_main.cpp33 static int sigpipe[ 2 ]; variable
41 write(sigpipe[ 1 ], &tmp, 1); in sig_handler()
213 if (pipe(sigpipe) != 0) { in kdemain()
217 QSocketNotifier *signotif = new QSocketNotifier(sigpipe[ 0 ], QSocketNotifier::Read, launcher); in kdemain()
/dports/textproc/urlview/urlview-45443109/
H A DAUTHORS1 Michael Elkins <me@sigpipe.org>
2 http://www.sigpipe.org/
/dports/archivers/dpkg/dpkg-1.19.7/lib/dpkg/
H A Dpager.c73 struct sigaction sigpipe; member
106 sigaction(SIGPIPE, &sa, &pager->sigpipe); in pager_spawn()
142 sigaction(SIGPIPE, &pager->sigpipe, NULL); in pager_reap()

12345678910>>...28