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

Unified Diff: src/untrusted/nacl/nacl_irt_process.c

Issue 24908002: Provide IRT process interface Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: 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
« no previous file with comments | « src/untrusted/nacl/nacl_irt_fdio.c ('k') | src/untrusted/nacl/pipe.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/nacl/nacl_irt_process.c
diff --git a/src/untrusted/nacl/nacl_irt_process.c b/src/untrusted/nacl/nacl_irt_process.c
new file mode 100644
index 0000000000000000000000000000000000000000..ade8a63cab00020e52ef03a568d11880ffb945ba
--- /dev/null
+++ b/src/untrusted/nacl/nacl_irt_process.c
@@ -0,0 +1,14 @@
+/*
+ * Copyright (c) 2013 The Native Client Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include "native_client/src/untrusted/nacl/nacl_irt.h"
+
+void __libnacl_irt_process_init(void) {
+ __libnacl_irt_query(NACL_IRT_DEV_PROCESS_v0_1,
+ &__libnacl_irt_dev_process,
+ sizeof(__libnacl_irt_dev_process);
+ }
+}
« no previous file with comments | « src/untrusted/nacl/nacl_irt_fdio.c ('k') | src/untrusted/nacl/pipe.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698