pg9520/pg9520App/src/pg9520Main.cpp
changeset 1 0ba93e52269a
equal deleted inserted replaced
0:be4f3ba220be 1:0ba93e52269a
       
     1 /* pg9520Main.cpp */
       
     2 /* Author:  Marty Kraimer Date:    17MAR2000 */
       
     3 
       
     4 #include <stddef.h>
       
     5 #include <stdlib.h>
       
     6 #include <stddef.h>
       
     7 #include <string.h>
       
     8 #include <stdio.h>
       
     9 
       
    10 #include "epicsExit.h"
       
    11 #include "epicsThread.h"
       
    12 #include "iocsh.h"
       
    13 
       
    14 int main(int argc,char *argv[])
       
    15 {
       
    16     if(argc>=2) {    
       
    17         iocsh(argv[1]);
       
    18         epicsThreadSleep(.2);
       
    19     }
       
    20     iocsh(NULL);
       
    21     epicsExit(0);
       
    22     return(0);
       
    23 }