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

Unified Diff: src/untrusted/nosys/popen.c

Issue 22923022: Make libnosys function stubs part of libnacl (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Code review feedback Created 7 years, 4 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/nosys/pipe.c ('k') | src/untrusted/nosys/pselect.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/nosys/popen.c
diff --git a/src/untrusted/nosys/popen.c b/src/untrusted/nosys/popen.c
deleted file mode 100644
index 8083bbf2e71fe490439ad5de68c8d46632690a8f..0000000000000000000000000000000000000000
--- a/src/untrusted/nosys/popen.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright (c) 2011 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.
- */
-
-/*
- * Stub routine for `popen' for porting support.
- */
-
-#include <stdio.h>
-#include <errno.h>
-
-FILE *popen(const char *command, const char *modes) {
- errno = ENOSYS;
- return NULL;
-}
-
-#include "native_client/src/untrusted/nosys/warning.h"
-stub_warning(popen);
« no previous file with comments | « src/untrusted/nosys/pipe.c ('k') | src/untrusted/nosys/pselect.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698