Call a function in a shared library: Difference between revisions

Content added Content deleted
(new task with C code; category?)
 
m (→‎{{header|C}}: fixed a type)
Line 46: Line 46:


<lang c>#include <stdio.h>
<lang c>#include <stdio.h>
/* gcc -shared -nostartfiles fakeimglib.c -o fameimglib.so */
/* gcc -shared -nostartfiles fakeimglib.c -o fakeimglib.so */
int openimage(char *s)
int openimage(char *s)
{
{