merge the formfield patch from ooo-build
[ooovba.git] / dmake / mac / bogus.c
blobe8daff6dc539062a55e9437576b7c8b628ee2623
1 /* RCS $Id: bogus.c,v 1.1.1.1 2000-09-22 15:33:27 hr Exp $
2 --
3 -- SYNOPSIS
4 -- Write the shell of subroutines we can't or don't
5 -- need to implement
6 --
7 -- DESCRIPTION
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
10 -- are in this file.
12 -- AUTHOR
13 -- Dennis Vadura, dvadura@dmake.wticorp.com
16 -- WWW
17 -- http://dmake.wticorp.com/
19 -- COPYRIGHT
20 -- Copyright (c) 1996,1997 by WTI Corp. All rights reserved.
21 --
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.
26 -- LOG
27 -- Use cvs log to obtain detailed change logs.
30 #include "extern.h"
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
39 * not needed
41 PUBLIC void
42 tzset ()
49 * Add an environmental variable that child processes can use.
50 * Since MPW currently doesn't allow child processes, this isn't
51 * needed.
53 PUBLIC int
54 putenv (char *pEnvString)
56 return (0);
62 * Execute a child process. This may be able to be done with
63 * the MPW system() call someday, but cannot be done currently.
65 PUBLIC int
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)) {
72 warned = TRUE;
73 Fatal ("Can't execute any targets: use '-n' option.");
74 } /* if */
76 return (0);
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.
85 PUBLIC int
86 Wait_for_child(int abort_flg, int pid)
88 return (1);
94 * Do any cleanup for any processes when we quit.
96 PUBLIC void
97 Clean_up_processes()