/* $Id: tdaq_glue.c,v 1.1 2003/03/27 06:25:20 wafer Exp $ */ /* This file is glue between turbo-daq and ambush. It needs to be * linked into turbo-daq. */ #include #include int glue_init () { FILE *out = fopen("/home/generic/blah.txt", "w"); return errno; if (!out) return -12; fprintf(out, "It worked!\n"); fclose(out); return 245; }