Home
last modified time | relevance | path

Searched refs:ig (Results 1 – 1 of 1) sorted by relevance

/curl/lib/
H A Dsigpipe.h40 static void sigpipe_init(struct sigpipe_ignore *ig) in sigpipe_init() argument
42 memset(ig, 0, sizeof(*ig)); in sigpipe_init()
43 ig->no_signal = TRUE; in sigpipe_init()
56 ig->no_signal = data->set.no_signal; in sigpipe_ignore()
60 sigaction(SIGPIPE, NULL, &ig->old_pipe_act); in sigpipe_ignore()
61 action = ig->old_pipe_act; in sigpipe_ignore()
75 if(!ig->no_signal) in sigpipe_restore()
77 sigaction(SIGPIPE, &ig->old_pipe_act, NULL); in sigpipe_restore()
83 if(data->set.no_signal != ig->no_signal) { in sigpipe_apply()
84 sigpipe_restore(ig); in sigpipe_apply()
[all …]

Completed in 5 milliseconds