summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-02-07 13:26:39 +0000
committerjkh <jkh@FreeBSD.org>1995-02-07 13:26:39 +0000
commit2bc5b1e7005d25be2e8653dc7a75626b9454a31f (patch)
treeb4e8b26344e86880bfe4fe5157c862b4591e0314 /include
parent5d2cd114db44f17c1f7243730dd1107ae9c60975 (diff)
downloadFreeBSD-src-2bc5b1e7005d25be2e8653dc7a75626b9454a31f.zip
FreeBSD-src-2bc5b1e7005d25be2e8653dc7a75626b9454a31f.tar.gz
Support for more Sun compatible dlopen() and friends. Also added proper error
handling. Reviewed by: gj Submitted by: Mark Diekhans <markd@grizzly.com>
Diffstat (limited to 'include')
-rw-r--r--include/link.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/include/link.h b/include/link.h
index 3a5b6aa..9f04624 100644
--- a/include/link.h
+++ b/include/link.h
@@ -27,7 +27,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id$
+ * $Id: link.h,v 1.2 1994/02/13 20:47:18 jkh Exp $
*/
/*
@@ -166,21 +166,16 @@ struct ld_entry {
void *(*dlopen) __P((char *, int));
int (*dlclose) __P((void *));
void *(*dlsym) __P((void *, char *));
- int (*dlctl) __P((void *, int, void *));
+ char *(*dlerror) __P((void));
};
/*
- * dlctl() commands
- */
-#define DL_GETERRNO 1
-
-/*
* dl*() prototypes.
*/
extern void *dlopen __P((char *, int));
extern int dlclose __P((void *));
extern void *dlsym __P((void *, char *));
-extern int dlctl __P((void *, int, void *));
+extern char *dlerror __P((void));
/*
OpenPOWER on IntegriCloud