- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for CRaiseSIGPIPE (0.15 sec)
-
src/cmd/cgo/internal/testcarchive/testdata/libgo2/libgo2.go
// license that can be found in the LICENSE file. package main /* #include <signal.h> #include <unistd.h> #include <stdlib.h> #include <stdio.h> // Raise SIGPIPE. static void CRaiseSIGPIPE() { int fds[2]; if (pipe(fds) == -1) { perror("pipe"); exit(EXIT_FAILURE); } // Close the reader end close(fds[0]); // Write to the writer end to provoke a SIGPIPE
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.6K bytes - Viewed (0)