Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uwm.edu!lll-winken!unixhub!unixhub.slac.stanford.edu!rensing From: rensing@pixel.SLAC.Stanford.EDU (Paul Rensing) Newsgroups: comp.lang.c Subject: Preserving pointer to functions Message-ID: Date: 24 Apr 91 06:20:46 GMT Sender: news@unixhub.SLAC.Stanford.EDU Distribution: comp Organization: Stanford Linear Accelerator Center Lines: 11 Nntp-Posting-Host: pixel.slac.stanford.edu 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