Call a function in a shared library: Difference between revisions

Content added Content deleted
m (BaCon and BBC BASIC moved to the BASIC section.)
m (→‎{{header|Wren}}: Changed to Wren S/H)
Line 2,079: Line 2,079:
{{trans|C}}
{{trans|C}}
An embedded program so we can ask the C host to call the shared library function for us.
An embedded program so we can ask the C host to call the shared library function for us.
<syntaxhighlight lang="ecmascript">/* call_shared_library_function.wren */
<syntaxhighlight lang="wren">/* call_shared_library_function.wren */


var RTLD_LAZY = 1
var RTLD_LAZY = 1
Line 2,241: Line 2,241:
Same as C example depending on whether fakeimglib.so is present in the current directory or not.
Same as C example depending on whether fakeimglib.so is present in the current directory or not.
</pre>
</pre>

=={{header|X86-64 Assembly}}==
=={{header|X86-64 Assembly}}==
===UASM 2.52===
===UASM 2.52===