SIMUL_EF.C

LIB3/SECURE/MASTER/SIMUL_EF.C · 432 B

From the archive nm4dos.zip

Download the archive   « Back to the archive contents

/*
 * Give a path to a simul_efun file. Observe that it is a string returned,
 * not an object. But the object has to be loaded here. Return 0 if this
 * feature isn't wanted.
 */
string  get_simul_efun()
{
    string  fname;

    fname = "/secure/simul_efun";
    if( catch( call_other( fname, "??" ) ) )
    {
	write( "Failed to load " + fname + "\n" );
	shutdown();
	return 0;
    }
    return fname;
}				/* get_simul_efun() */

Site Stats

Snippets: 1791
Codebases: 571