Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
f8a1d107
Commit
f8a1d107
authored
Jul 18, 2001
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made a few minor style & markup changes to the new {get,set}dlopenflags()
descriptions; added availability notes.
parent
06fd9714
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
15 deletions
+17
-15
Doc/lib/libsys.tex
Doc/lib/libsys.tex
+17
-15
No files found.
Doc/lib/libsys.tex
View file @
f8a1d107
...
...
@@ -181,9 +181,10 @@ way to exit a program when an error occurs.
\end{funcdesc}
\begin{funcdesc}
{
getdlopenflags
}{}
Return the current value of the flags that are used for
\code
{
dlopen
}
calls. The flag constants are defined in the
\refmodule
{
dl
}
and
\module
{
DLFCN
}
modules.
Return the current value of the flags that are used for
\cfunction
{
dlopen()
}
calls. The flag constants are defined in the
\refmodule
{
dl
}
and
\module
{
DLFCN
}
modules.
Availability:
\UNIX
.
\versionadded
{
2.2
}
\end{funcdesc}
...
...
@@ -341,16 +342,17 @@ maximizing responsiveness as well as overhead.
\end{funcdesc}
\begin{funcdesc}
{
sertdlopenflags
}{
n
}
Set the flags that will be used for
\code
{
dlopen()
}
calls, i.e. when
the interpreter loads extension modules. Among other things, this
will enable a lazy resolving of symbols when imporing a module, if
called as
\code
{
sys.setdlopenflags(0)
}
. To share symols across
extension modules, call as
\code
{
sys.setdlopenflags(dl.RTLD
_
NOW|dl.RTLD
_
GLOBAL)
}
. The s
ymbolic
Set the flags used by the interpreter for
\cfunction
{
dlopen()
}
calls, such as when the interpreter loads extension modules. Among
other things, this will enable a lazy resolving of symbols when
imporing a module, if called as
\code
{
sys.setdlopenflags(0)
}
. To
share symols across
extension modules, call as
\code
{
sys.setdlopenflags(dl.RTLD
_
NOW|dl.RTLD
_
GLOBAL)
}
. S
ymbolic
names for the flag modules can be either found in the
\refmodule
{
dl
}
module, or in the
\module
{
DLFCN
}
module. If
\module
{
DLFCN
}
is not
available, it can be generated from
\code
{
/usr/include/dlfcn.h
}
using
the
\code
{
h2py
}
script.
available, it can be generated from
\code
{
/usr/include/dlfcn.h
}
using the
\code
{
h2py
}
script.
Availability:
\UNIX
.
\versionadded
{
2.2
}
\end{funcdesc}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment