Hi, I'm trying to wrap "signal" like this ...
//------------------ const SIGINT:int = "SIGINT"; proc signal:int*(int->void) = "signal($1, $2)"; proc finish(sig:int) { C_hack::ignore(endwin()); print$ f"finish got signal %d\n" sig; C_hack::ignore(gc()); System::exit(0); } signal(SIGINT, finish); //------------ but I get this error message, and I don't know what it means... $ flx -I./nc nc/nc.flx CLIENT ERROR [bind_expression] Simple name finish binds to function set in nc/nc.flx: line 20, cols 16 to 21 In nc/nc.flx: line 20, cols 16 to 21 19: 20: signal(SIGINT, finish); ****** 21: ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language