stdin.c

lpc4/bin/stdin.c · 258 B

From the archive lpc4.05.14.tar.gz

Download the archive   « Back to the archive contents

#!lpc

function sig;

void main(int argv,string *argc,string *env)
{
  string s,s2;
  object o;
  
  for(s2="";s=gets();s2+=s);
  s=make_object(s2);
  o=(object)s;
  sig=o->signal;
  return o->main(argv,argc,env);
}

int signal(int foo) { return sig(foo); }

Site Stats

Snippets: 1791
Codebases: 571