| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2010 The Native Client Authors. All rights reserved. | 2 * Copyright 2010 The Native Client Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can | 3 * Use of this source code is governed by a BSD-style license that can |
| 4 * be found in the LICENSE file. | 4 * be found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 /* | 7 /* |
| 8 * Stub routine for `execve' for porting support. | 8 * Stub routine for `execve' for porting support. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #include <unistd.h> | 11 #include <unistd.h> |
| 12 #include <errno.h> | 12 #include <errno.h> |
| 13 | 13 |
| 14 int execve(const char *name, char * const argv[], char * const envp[]) { | 14 int execve(const char *name, char * const argv[], char * const envp[]) { |
| 15 errno = ENOSYS; | 15 errno = ENOSYS; |
| 16 return -1; | 16 return -1; |
| 17 } | 17 } |
| 18 | |
| 19 #include "native_client/src/untrusted/nosys/warning.h" | |
| 20 stub_warning(execve); | |
| OLD | NEW |