Posts by Ricardo Biehl Pasquali • 156 points
3 posts
-
1
votes1
answer736
viewsA: C programming using GTK
In accordance with this answer no need to create a new Widget to swap the image. Just use gtk_image_set_from_image() __deprecated__ (or maybe gtk_image_set_from_file() ) I extracted the code below…
-
0
votes1
answer89
viewsA: Invalid argument in mmap
First we have to make some things clear: Use void* for the variable addr Open the file with Read and Write enabled (O_RDWR). This is necessary so that the mmap() perform the mapping. In the…
-
3
votes1
answer75
viewsA: Pointer error with dynamic library calling
I don’t know when the memory error you mentioned occurred, but it was probably in your call to dlopen() Let’s take a brief look at the manual of dlopen() (translated only the relevant) user@host:~$…
canswered Ricardo Biehl Pasquali 156