Changeset 3650 for trunk/src/win32k/rexx/kRx.c
- Timestamp:
- Jun 3, 2000, 5:50:46 AM (25 years ago)
- File:
-
- 1 edited
-
trunk/src/win32k/rexx/kRx.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/rexx/kRx.c
r3518 r3650 1 /* $Id: kRx.c,v 1. 1 2000-05-10 16:04:30bird Exp $1 /* $Id: kRx.c,v 1.2 2000-06-03 03:50:45 bird Exp $ 2 2 * 3 3 * kRx - Small rexx script interpreter. 4 * 5 * Will be re-written in assembly later!!! 4 6 * 5 7 * Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@pmsc.no) … … 17 19 #define INCL_DOSERRORS 18 20 21 #undef DEBUGOUT 22 19 23 /******************************************************************************* 20 24 * Internal Functions * … … 25 29 #include <stdio.h> 26 30 #include <string.h> 27 #include <malloc.h> 31 /*#include <malloc.h> */ 28 32 29 33 /** … … 51 55 int argi; /* Argument index loop variable. */ 52 56 APIRET rc; /* Return code from RexxStart. */ 53 57 ULONG ul; /* Dummy used by DosWrite. */ 54 58 55 59 /* … … 68 72 if (iScriptName >= argc) 69 73 { 70 fprintf(stderr, "Invalid parameters, script filename is missing\n");74 DosWrite(2, "Invalid parameters, script filename is missing.\r\n", 47, &ul); 71 75 return -10000; 72 76 } … … 120 124 * Debug display result. 121 125 */ 126 #ifdef DEBUGOUT 122 127 printf( 123 128 "Interpreter rc: %d\n" … … 127 132 sRexxRc, 128 133 rxstrRexxRc.strptr); 129 134 #endif 130 135 131 136 DosFreeMem(rxstrRexxRc.strptr); /* Release storage from RexxStart. */
Note:
See TracChangeset
for help on using the changeset viewer.
