[comp.lang.c] Preserving pointer to functions

rensing@pixel.SLAC.Stanford.EDU (Paul Rensing) (04/24/91)

I have an interesting problem. I want to write to a file a structure which
contains pointers to functions and be able to read it back, in another
run. I want the connection to be maintained across the runs. 

Maybe if I examine the symbol table and save the name of the function,
I could search the table when I read it in. Is there some way to look
into the symbol table? I would prefer a machine-dependent method but I
will take what I can get.

Paul Rensing
rensing@pixel.slac.stanford.edu