// Copyright information and license terms for this software can be
// found in the file LICENSE that is included with the distribution

/*exampleDatabaseMain.cpp */
/**
 * @author mrk
 */

/* Author: Marty Kraimer */

#include <stddef.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <stdio.h>

#include "epicsExit.h"
#include "epicsThread.h"
#include "iocsh.h"

int main(int argc,char *argv[])
{
    if(argc>=2) {
        iocsh(argv[1]);
        epicsThreadSleep(.2);
    }
    iocsh(NULL);
    epicsExit(0);
    return(0);
}

