| Index: ports/nacl-spawn/spawn.h
|
| diff --git a/ports/nacl-spawn/spawn.h b/ports/nacl-spawn/spawn.h
|
| deleted file mode 100644
|
| index f00b09f61dfb6d169e58309155e330f63916ddf9..0000000000000000000000000000000000000000
|
| --- a/ports/nacl-spawn/spawn.h
|
| +++ /dev/null
|
| @@ -1,63 +0,0 @@
|
| -/*
|
| - * Copyright (c) 2014 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 <sys/types.h>
|
| -#include <sys/wait.h>
|
| -
|
| -#ifdef __BIONIC__
|
| -// TODO(sbc): remove this once bionic toolchain gets a copy of
|
| -// spawn.h.
|
| -#include <bsd_spawn.h>
|
| -#else
|
| -#include_next <spawn.h>
|
| -#endif
|
| -
|
| -/*
|
| - * Include guards are here so that this header can forward to the next one in
|
| - * presence of an already installed copy of nacl-spawn.
|
| - */
|
| -#ifndef _NACL_SPAWN_SPAWN_H_
|
| -#define _NACL_SPAWN_SPAWN_H_
|
| -
|
| -#ifdef __cplusplus
|
| -extern "C" {
|
| -#endif
|
| -
|
| -/*
|
| - * Spawn a child using the given args.
|
| - *
|
| - * Args:
|
| - * mode: Execute mode, one of the defines below.
|
| - * path: The program to run.
|
| - * argv: The startup arguments for the child.
|
| - * Returns:
|
| - * Process id of the child or -1 for error.
|
| - */
|
| -extern int spawnv(int mode, const char* path, char *const argv[]);
|
| -
|
| -/*
|
| - * Spawn a child using the current environment and given args.
|
| - *
|
| - * Args:
|
| - * mode: Execute mode, one of the defines below.
|
| - * path: The program to run.
|
| - * argv: The startup arguments for the child.
|
| - * envp: The environment to run the child in.
|
| - * Returns:
|
| - * Process id of the child or -1 for error.
|
| - */
|
| -extern int spawnve(int mode, const char* path,
|
| - char *const argv[], char *const envp[]);
|
| -#define P_WAIT 0
|
| -#define P_NOWAIT 1
|
| -#define P_NOWAITO 1
|
| -#define P_OVERLAY 2
|
| -
|
| -#ifdef __cplusplus
|
| -}
|
| -#endif
|
| -
|
| -#endif
|
|
|