home *** CD-ROM | disk | FTP | other *** search
- /* Copyright (c) 1990 by Oracle Corporation, California, USA */
-
- /*--------------------------------------------------------------------------+
- | Sample main() function to call RUNREP via the call interface function |
- | RWCRUN(). |
- +--------------------------------------------------------------------------*/
-
- #include <stdio.h>
-
- extern long far rwcrun (char *);
-
- void main (int argc, char *argv[])
- {
- long ret;
- char parmline[101];
-
- printf("Enter the parameter line to send to RUNREP (100 chars max):\n");
- scanf("%[^\n\t]s", parmline);
- printf("Calling RUNREP with arguments '%s'.\n", parmline);
-
- ret = rwcrun(parmline);
-
- printf("RUNREP returns %ld.\n", ret);
- } /* end main */
-
-