mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-05 12:56:08 +00:00
Support for more Sun compatible dlopen() and friends. Also added proper error
handling. Reviewed by: gj Submitted by: Mark Diekhans <markd@grizzly.com>
This commit is contained in:
parent
89bcd2d778
commit
efa6e5fa69
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6232
@ -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));
|
||||
|
||||
|
||||
/*
|
||||
|
@ -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));
|
||||
|
||||
|
||||
/*
|
||||
|
@ -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));
|
||||
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user