Formerly remote-stub.c.~2~

This commit is contained in:
Roland McGrath 1992-03-10 22:15:46 +00:00
parent ee200385e4
commit a4bfdb8264

View file

@ -1,4 +1,4 @@
/* Copyright (C) 1988, 1989 Free Software Foundation, Inc. /* Copyright (C) 1988, 1989, 1992 Free Software Foundation, Inc.
This file is part of GNU Make. This file is part of GNU Make.
GNU Make is free software; you can redistribute it and/or modify GNU Make is free software; you can redistribute it and/or modify
@ -30,17 +30,16 @@ start_remote_job_p ()
return 0; return 0;
} }
/* Start a remote job running the command in ARGV. /* Start a remote job running the command in ARGV,
It gets standard input from STDIN_FD. On failure, with environment from ENVP. It gets standard input from STDIN_FD. On
return nonzero. On success, return zero, and set failure, return nonzero. On success, return zero, and set *USED_STDIN
*USED_STDIN to nonzero if it will actually use STDIN_FD, to nonzero if it will actually use STDIN_FD, zero if not, set *ID_PTR to
zero if not, set *ID_PTR to a unique identification, and a unique identification, and set *IS_REMOTE to zero if the job is local,
set *IS_REMOTE to zero if the job is local, nonzero if it nonzero if it is remote (meaning *ID_PTR is a process ID). */
is remote (meaning *ID_PTR is a process ID). */
int int
start_remote_job (argv, stdin_fd, is_remote, id_ptr, used_stdin) start_remote_job (argv, envp, stdin_fd, is_remote, id_ptr, used_stdin)
char **argv; char **argv, **envp;
int stdin_fd; int stdin_fd;
int *is_remote; int *is_remote;
int *id_ptr; int *id_ptr;