Subject UDF system
Author Nick Upson
I've written a udf to allow access to the C function system from
firebird, but it seems to crash the server. I can't see anything wrong
with it. Here is the code:

int local_system(char *command)
{
int ret;

ret = system(command);
return (ret);
}

DECLARE EXTERNAL FUNCTION LOCAL_SYSTEM
CSTRING(240)
RETURNS Integer BY VALUE
ENTRY_POINT 'local_system'
MODULE_NAME 'telensa_udf'

(fb 1.5.4 on fedora core 5)