From owner-freebsd-questions Fri Jan 27 01:16:38 1995 Return-Path: questions-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id BAA10980 for questions-outgoing; Fri, 27 Jan 1995 01:16:38 -0800 Received: from cs.few.eur.nl (pk@kaa.cs.few.eur.nl [130.115.1.95]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id BAA10971 for ; Fri, 27 Jan 1995 01:16:32 -0800 Received: by cs.few.eur.nl (5.67/EUR) id AA11730; Fri, 27 Jan 95 10:13:21 +0100 Date: Fri, 27 Jan 95 10:13:21 +0100 From: Paul Kranenburg Message-Id: <9501270913.AA11730@cs.few.eur.nl> To: wollman@halloran-eldar.lcs.mit.edu, markd@grizzly.com Subject: Re: dlopen for FreeBSD? Cc: questions@FreeBSD.org Sender: questions-owner@FreeBSD.org Precedence: bulk > Amazing, looks like all it needs is a .h file and a man page (well, and > the dlerror function)!!! > A quick-and-dirty dlerror() goes like this: char * dlerror() { int error; if (ld_entry == NULL || (*ld_entry->dlctl)(NULL, DL_GETERRNO, &error) == -1) return "Service unavailable"; return (char *)strerror(error); } -pk