Add RTLD_SELF, RTLD_NEXT, RTLD_DEFAULT, from FreeBSD

This commit is contained in:
christos 2003-05-30 15:44:03 +00:00
parent 683092605c
commit 4e9f5413f5

View File

@ -1,4 +1,4 @@
/* $NetBSD: dlfcn.h,v 1.14 2003/04/28 23:16:13 bjh21 Exp $ */
/* $NetBSD: dlfcn.h,v 1.15 2003/05/30 15:44:03 christos Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -74,6 +74,13 @@ __END_DECLS
#define DL_LAZY RTLD_LAZY /* Compat */
#endif
/*
* Special handle arguments for dlsym()/dlinfo().
*/
#define RTLD_NEXT ((void *) -1) /* Search subsequent objects. */
#define RTLD_DEFAULT ((void *) -2) /* Use default search algorithm. */
#define RTLD_SELF ((void *) -3) /* Search the caller itself. */
/*
* dlctl() commands
*/