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

Unified Diff: native_client_sdk/src/libraries/nacl_io/syscalls/pipe.c

Issue 23498015: [NaCl SDK] Support non blocking TCP/UDP (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 7 years, 3 months 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
Index: native_client_sdk/src/libraries/nacl_io/syscalls/pipe.c
diff --git a/native_client_sdk/src/libraries/nacl_io/syscalls/kill.c b/native_client_sdk/src/libraries/nacl_io/syscalls/pipe.c
similarity index 80%
copy from native_client_sdk/src/libraries/nacl_io/syscalls/kill.c
copy to native_client_sdk/src/libraries/nacl_io/syscalls/pipe.c
index 963151673722e41f3665d798494c3af99bb5d302..18809a155c3e88f8a131b0e88fcfd3999387e5cd 100644
--- a/native_client_sdk/src/libraries/nacl_io/syscalls/kill.c
+++ b/native_client_sdk/src/libraries/nacl_io/syscalls/pipe.c
@@ -5,6 +5,6 @@
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
-int kill(pid_t pid, int sig) {
- return ki_kill(pid, sig);
+int pipe(int pipefds[2]) {
+ return ki_pipe(pipefds);
}

Powered by Google App Engine
This is Rietveld 408576698