From owner-freebsd-current Thu Mar 30 07:30:49 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id HAA00378 for current-outgoing; Thu, 30 Mar 1995 07:30:49 -0800 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id HAA00372; Thu, 30 Mar 1995 07:30:46 -0800 Received: by halloran-eldar.lcs.mit.edu; id AA16296; Thu, 30 Mar 1995 10:30:26 -0500 Date: Thu, 30 Mar 1995 10:30:26 -0500 From: Garrett Wollman Message-Id: <9503301530.AA16296@halloran-eldar.lcs.mit.edu> To: "Jordan K. Hubbard" Cc: current@freefall.cdrom.com Subject: dlopen() and Garrett's comments on fn pointers! In-Reply-To: <199503300605.WAA15938@freefall.cdrom.com> References: <199503300605.WAA15938@freefall.cdrom.com> Sender: current-owner@FreeBSD.org Precedence: bulk < said: > In case no one has noticed, the dlsym() routine returns a void* for > both function and data pointers! :-) Yup. You have to take an intermediate step through a large-enough integer (like unsigned long) in order to do it without diagnostics. (The result is still implementation-defined.) -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant