Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4369)

Unified Diff: base/process_util.h

Issue 11280010: Extract SIGPIPE ignoring code to a common place. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ios Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/debug/stack_trace_posix.cc ('k') | base/process_util_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process_util.h
diff --git a/base/process_util.h b/base/process_util.h
index 2805e421607e43ff028485351cb1a46801673606..e4d52b42e7591c9a5eee15598ee49442182664cc 100644
--- a/base/process_util.h
+++ b/base/process_util.h
@@ -147,6 +147,11 @@ 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.
willchan no longer on Chromium 2012/11/16 05:25:03 Please document the return value.
+BASE_EXPORT bool IgnoreSigPipe() WARN_UNUSED_RESULT;
+#endif
+
// Returns the id of the current process.
BASE_EXPORT ProcessId GetCurrentProcId();
« no previous file with comments | « base/debug/stack_trace_posix.cc ('k') | base/process_util_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698