Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/bits
File: dlfcn.h
/* System dependent definitions for run-time dynamic loading.
[0] Fix | Delete
Copyright (C) 1996-2018 Free Software Foundation, Inc.
[1] Fix | Delete
This file is part of the GNU C Library.
[2] Fix | Delete
[3] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[4] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[5] Fix | Delete
License as published by the Free Software Foundation; either
[6] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[7] Fix | Delete
[8] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[9] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[10] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[11] Fix | Delete
Lesser General Public License for more details.
[12] Fix | Delete
[13] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[14] Fix | Delete
License along with the GNU C Library; if not, see
[15] Fix | Delete
<http://www.gnu.org/licenses/>. */
[16] Fix | Delete
[17] Fix | Delete
#ifndef _DLFCN_H
[18] Fix | Delete
# error "Never use <bits/dlfcn.h> directly; include <dlfcn.h> instead."
[19] Fix | Delete
#endif
[20] Fix | Delete
[21] Fix | Delete
/* The MODE argument to `dlopen' contains one of the following: */
[22] Fix | Delete
#define RTLD_LAZY 0x00001 /* Lazy function call binding. */
[23] Fix | Delete
#define RTLD_NOW 0x00002 /* Immediate function call binding. */
[24] Fix | Delete
#define RTLD_BINDING_MASK 0x3 /* Mask of binding time value. */
[25] Fix | Delete
#define RTLD_NOLOAD 0x00004 /* Do not load the object. */
[26] Fix | Delete
#define RTLD_DEEPBIND 0x00008 /* Use deep binding. */
[27] Fix | Delete
[28] Fix | Delete
/* If the following bit is set in the MODE argument to `dlopen',
[29] Fix | Delete
the symbols of the loaded object and its dependencies are made
[30] Fix | Delete
visible as if the object were linked directly into the program. */
[31] Fix | Delete
#define RTLD_GLOBAL 0x00100
[32] Fix | Delete
[33] Fix | Delete
/* Unix98 demands the following flag which is the inverse to RTLD_GLOBAL.
[34] Fix | Delete
The implementation does this by default and so we can define the
[35] Fix | Delete
value to zero. */
[36] Fix | Delete
#define RTLD_LOCAL 0
[37] Fix | Delete
[38] Fix | Delete
/* Do not delete object when closed. */
[39] Fix | Delete
#define RTLD_NODELETE 0x01000
[40] Fix | Delete
[41] Fix | Delete
#ifdef __USE_GNU
[42] Fix | Delete
/* To support profiling of shared objects it is a good idea to call
[43] Fix | Delete
the function found using `dlsym' using the following macro since
[44] Fix | Delete
these calls do not use the PLT. But this would mean the dynamic
[45] Fix | Delete
loader has no chance to find out when the function is called. The
[46] Fix | Delete
macro applies the necessary magic so that profiling is possible.
[47] Fix | Delete
Rewrite
[48] Fix | Delete
foo = (*fctp) (arg1, arg2);
[49] Fix | Delete
into
[50] Fix | Delete
foo = DL_CALL_FCT (fctp, (arg1, arg2));
[51] Fix | Delete
*/
[52] Fix | Delete
# define DL_CALL_FCT(fctp, args) \
[53] Fix | Delete
(_dl_mcount_wrapper_check ((void *) (fctp)), (*(fctp)) args)
[54] Fix | Delete
[55] Fix | Delete
__BEGIN_DECLS
[56] Fix | Delete
[57] Fix | Delete
/* This function calls the profiling functions. */
[58] Fix | Delete
extern void _dl_mcount_wrapper_check (void *__selfpc) __THROW;
[59] Fix | Delete
[60] Fix | Delete
__END_DECLS
[61] Fix | Delete
[62] Fix | Delete
#endif
[63] Fix | Delete
[64] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function