home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.27 / text0002.txt < prev    next >
Encoding:
Text File  |  1992-05-20  |  1023 b   |  29 lines

  1. Submitted-by: cmr@cvedc.prime.com (Chesley Reyburn)
  2.  
  3. barmar@think.com (Barry Margolin) writes:
  4.  
  5. >What about the kind of stuff that one needs dlopen() for, i.e. where a
  6. >runtime-specified module must be linked in?  That's a source-level view.
  7.  
  8. Thank you!  I sent mail yesterday to Mr. Lewine stating the same
  9. thing and proposing something like:
  10.     
  11.     void *(*local_func())(char *filename, char *entryname)
  12.  
  13. Where local_func() is part of POSIX.  Filename is a fully qualified
  14. file name where the source code that describes the function may be found.
  15. Entryname describes the entry point in the object.
  16.  
  17. The only problem that I can see is that the above function
  18. limits the new functions to always only returning a pointer
  19. to void.  Perhaps an additional argument describing the type
  20. of return value?
  21.  
  22. Chesley Reyburn                       cmr@cvedc.prime.com
  23. ECAE Software, Prime Computer, Inc.   Phone: 503/645-2410
  24. 14952 NW Greenbrier Parkway           Beaverton, OR 97006-5733, USA
  25.  
  26.  
  27. Volume-Number: Volume 27, Number 2
  28.  
  29.