1 /* RCS $Id: bogus.c,v 1.1.1.1 2000-09-22 15:33:27 hr Exp $
4 -- Write the shell of subroutines we can't or don't
8 -- dmake uses a couple of functions which I am either unable to figure out
9 -- how to implement or which are not needed. The shells of these routines
13 -- Dennis Vadura, dvadura@dmake.wticorp.com
17 -- http://dmake.wticorp.com/
20 -- Copyright (c) 1996,1997 by WTI Corp. All rights reserved.
22 -- This program is NOT free software; you can redistribute it and/or
23 -- modify it under the terms of the Software License Agreement Provided
24 -- in the file <distribution-root>/readme/license.txt.
27 -- Use cvs log to obtain detailed change logs.
35 * tzset() is a Microsoft "extension" to ANSI C. It sets global
36 * variables telling if we are in dayling savings time, the time
37 * zone, and difference between the current time and GMT.
38 * None of these globals are used by dmake, so this routine is
49 * Add an environmental variable that child processes can use.
50 * Since MPW currently doesn't allow child processes, this isn't
54 putenv (char *pEnvString
)
62 * Execute a child process. This may be able to be done with
63 * the MPW system() call someday, but cannot be done currently.
66 runargv (CELLPTR target
, int ignore
, int,
67 int last
, int shell
, char *pCmd
)
69 static int warned
= FALSE
;
71 if (!warned
&& !(Glob_attr
& A_SILENT
)) {
73 Fatal ("Can't execute any targets: use '-n' option.");
77 } /* int runargv () */
82 * Wait for the child process to complete. Only needed to be implemented
83 * if we could executing multiple processes at once.
86 Wait_for_child(int abort_flg
, int pid
)
94 * Do any cleanup for any processes when we quit.