Home
last modified time | relevance | path

Searched refs:SIGPIPE (Results 1 – 25 of 122) sorted by relevance

12345

/illumos-gate/usr/src/lib/libcrypt/common/
H A Dcryptio.c107 pstat = signal(SIGPIPE, SIG_IGN); /* don't want pipe errors to cause */ in writekey()
111 (void) signal(SIGPIPE, pstat); in writekey()
114 (void) signal(SIGPIPE, pstat); in writekey()
128 pstat = signal(SIGPIPE, SIG_IGN); in run_crypt()
132 (void) signal(SIGPIPE, pstat); in run_crypt()
138 (void) signal(SIGPIPE, pstat); in run_crypt()
144 (void) signal(SIGPIPE, pstat); in run_crypt()
148 (void) signal(SIGPIPE, pstat); in run_crypt()
/illumos-gate/usr/src/cmd/backup/lib/
H A Dmyrcmd.c132 (void) sigaction(SIGPIPE, &newaction, &oldaction); in myrcmd()
164 (void) sigaction(SIGPIPE, &oldaction, in myrcmd()
207 (void) sigaction(SIGPIPE, &oldaction, in myrcmd()
273 (void) sigaction(SIGPIPE, &oldaction, (struct sigaction *)0); in myrcmd()
281 (void) sigaction(SIGPIPE, &oldaction, (struct sigaction *)0); in myrcmd()
/illumos-gate/usr/src/cmd/mailx/
H A Dcmd4.c130 sigpipe = sigset(SIGPIPE, brokpipe); in dopipe()
145 sigset(SIGPIPE, sigpipe); in dopipe()
170 sigset(SIGPIPE, sigpipe); in dopipe()
178 sigset(SIGPIPE, sigpipe); in dopipe()
H A Dcmd1.c472 sigpipe = sigset(SIGPIPE, brokpipe); in type1()
490 sigset(SIGPIPE, sigpipe); in type1()
509 sigrelse(SIGPIPE); in brokpipe()
/illumos-gate/usr/src/test/os-tests/tests/sockfs/
H A Dnosignal.c41 signal(SIGPIPE, sigpipe_h); in sigpipe_h()
47 signal(SIGPIPE, sigpipe_h); in main()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfmode.c201 #ifdef SIGPIPE
237 #ifdef SIGPIPE /* protect from broken pipe signal */
242 if((handler = signal(SIGPIPE, ignoresig)) != SIG_DFL &&
244 signal(SIGPIPE, handler); /* honor user handler */
293 #ifdef SIGPIPE
297 if((handler = signal(SIGPIPE,SIG_DFL)) != SIG_DFL &&
299 signal(SIGPIPE,handler); /* honor user handler */
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd.c296 (void) sigaction(SIGPIPE, &act, NULL); in init_signals()
301 (void) sigdelset(&set, SIGPIPE); in init_signals()
321 case SIGPIPE: in signal_handler()
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_main.c265 (void) sigaction(SIGPIPE, &act, NULL); in main()
270 (void) sigdelset(&set, SIGPIPE); in main()
324 case SIGPIPE: in main()
/illumos-gate/usr/src/cmd/tbl/
H A Dt1.c57 signal(SIGPIPE, badsig); in main()
149 signal(SIGPIPE, SIG_IGN); in badsig()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/data/
H A Dsignals.c147 #ifdef SIGPIPE
149 "PIPE", VAL(SIGPIPE,SH_SIGDONE), S("Broken Pipe"),
151 "PIPE", VAL(SIGPIPE,SH_SIGDONE), "",
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dstreamio.c160 callers_sigpipe_trap = signal(SIGPIPE, SIG_IGN); in write3_2()
164 (void) signal(SIGPIPE, callers_sigpipe_trap); in write3_2()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dsigcrit.c41 #ifdef SIGPIPE
42 SIGPIPE, SIG_REG_EXEC,
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_ipc.c190 (void) sigaction(SIGPIPE, &new, &old); /* preserve old disposition */ in slp_send2slpd_iov()
248 (void) sigaction(SIGPIPE, &old, NULL); in slp_send2slpd_iov()
/illumos-gate/usr/src/lib/libsocket/inet/
H A Drcmd.c160 (void) sigaction(SIGPIPE, &newaction, &oldaction); in rcmd_af()
192 (void) sigaction(SIGPIPE, &oldaction, in rcmd_af()
261 (void) sigaction(SIGPIPE, &oldaction, in rcmd_af()
390 (void) sigaction(SIGPIPE, &oldaction, (struct sigaction *)0); in rcmd_af()
406 (void) sigaction(SIGPIPE, &oldaction, (struct sigaction *)0); in rcmd_af()
/illumos-gate/usr/src/cmd/ptools/preap/
H A Dpreap.c250 if (sigset(SIGPIPE, SIG_IGN) == SIG_DFL) in main()
251 (void) sigset(SIGPIPE, intr); in main()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dsignal.c157 #ifdef SIGPIPE
159 "Broken pipe", "PIPE", SIGPIPE,
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_align.c429 signal (SIGPIPE, sigpipe);
446 signal (SIGPIPE, SIG_DFL);
665 signal (SIGPIPE, SIG_IGN); in sigpipe()
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/
H A DPosixDaemon.c164 mDNSPosixListenForSignalInEventLoop(SIGPIPE); in MainLoop()
194 if (sigismember(&signals, SIGPIPE)) LogMsg("Received SIGPIPE - ignoring"); in MainLoop()
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/
H A Dsiglist44 #if defined(SIGPIPE) && !defined(HAD_SIGPIPE)
45 0,"PIPE",SIGPIPE,
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/
H A Dsiglist44 #if defined(SIGPIPE) && !defined(HAD_SIGPIPE)
45 0,"PIPE",SIGPIPE,
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/
H A Dsiglist44 #if defined(SIGPIPE) && !defined(HAD_SIGPIPE)
45 0,"PIPE",SIGPIPE,
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/
H A Dsiglist44 #if defined(SIGPIPE) && !defined(HAD_SIGPIPE)
45 0,"PIPE",SIGPIPE,
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.c780 (void) signal(SIGPIPE, oldintp); in sendrequest()
789 oldintp = signal(SIGPIPE, SIG_IGN); in sendrequest()
794 (void) signal(SIGPIPE, oldintp); in sendrequest()
824 (void) signal(SIGPIPE, oldintp); in sendrequest()
856 (void) signal(SIGPIPE, oldintp); in sendrequest()
869 (void) signal(SIGPIPE, oldintp); in sendrequest()
882 oldintp = signal(SIGPIPE, SIG_IGN); in sendrequest()
998 (void) signal(SIGPIPE, oldintp); in sendrequest()
1012 (void) signal(SIGPIPE, oldintp); in sendrequest()
1209 oldintp = signal(SIGPIPE, SIG_IGN); in recvrequest()
[all …]
H A Dmain.c318 (void) signal(SIGPIPE, lostpeer); in main()
329 (void) signal(SIGPIPE, lostpeer); in main()
477 (void) signal(SIGPIPE, lostpeer); in cmdscanner()
/illumos-gate/usr/src/cmd/vscan/vscand/
H A Dvs_main.c208 (void) sigaction(SIGPIPE, &act, NULL); in main()
212 (void) sigdelset(&set, SIGPIPE); in main()
251 case SIGPIPE: in main()

12345