aboutsummaryrefslogtreecommitdiff
path: root/include/link.h
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-02-07 13:26:39 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-02-07 13:26:39 +0000
commitefa6e5fa69a59a4580773860c5db5edbbd493f77 (patch)
treeb4e8b26344e86880bfe4fe5157c862b4591e0314 /include/link.h
parent89bcd2d778fa6833c01bce0eb1a071e79e21331d (diff)
downloadsrc-efa6e5fa69a59a4580773860c5db5edbbd493f77.tar.gz
src-efa6e5fa69a59a4580773860c5db5edbbd493f77.zip
Support for more Sun compatible dlopen() and friends. Also added proper error
handling. Reviewed by: gj Submitted by: Mark Diekhans <markd@grizzly.com>
Notes
Notes: svn path=/head/; revision=6232
Diffstat (limited to 'include/link.h')
-rw-r--r--include/link.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/include/link.h b/include/link.h
index 3a5b6aabac67..9f04624c7412 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));
/*