Index: base/process_util.h |
diff --git a/base/process_util.h b/base/process_util.h |
index 2805e421607e43ff028485351cb1a46801673606..00135c4ef6fd85e542dad026c3bdeca87106e394 100644 |
--- a/base/process_util.h |
+++ b/base/process_util.h |
@@ -147,6 +147,12 @@ BASE_EXPORT extern size_t g_oom_size; |
BASE_EXPORT void RouteStdioToConsole(); |
#endif |
+#if defined(OS_POSIX) |
+// Ignores SIGPIPE signal. We handle pipe errors in a different way. |
+// Returns true on success. |
+BASE_EXPORT bool IgnoreSigPipe() WARN_UNUSED_RESULT; |
+#endif |
+ |
// Returns the id of the current process. |
BASE_EXPORT ProcessId GetCurrentProcId(); |