Skip to content
Advertisement

Tag: c++

C Web Browser Download File

WebkitGTK+ API Reference What I’m trying to do is run my HTML5 app on Linux that way I and my users can still use my app without relying on an internet connection. My problem is when I go to download say a zip file. The download doesn’t execute because there isn’t an adequate url for the file to save to

Is it possible to get the version of a shared object?

I’m trying to track down a bug in my software line. I have two release build version 2.0.962 and 2.0.966. The only difference between these versions is a lib.so file. In order to figure out where to start looking in the source tree for lib.so, I need to know its version number in each of the release builds. Is there

Executing an external program when forking is not advisable

I have this a big server software that can hog 4-8GB of memory. This makes fork-exec cumbersome, as the fork itself can take significant time, plus the default behavior seems to be that fork will fail unless there is enough memory for a copy of the entire resident memory. Since this is starting to show as the hottest spot (60%

C++ Sockets – Client gives segmentation fault (linux)

I created a server/client connection. The server and client both are compiling correctly but when I run the client, it gives me a Segmentation Fault (core dumped) I don’t know what I am doing wrong with my memory allocations. The program is not dangling or anything. I think my program is writing to a read-only portion of the memory, or

Multiple Qt versions on Linux

I am currenyly using Debian Jessie and I have Qt Creator installed with Qt 5.3.3. It works fine, however there are some issues like QSystemTrayIcon not appearing properly, which I understand doesn’t occur on versions earlier than 5.0.0, so I would like to be able to switch which version I am building with. Where can I download the necessary files

sbrk system call in unix

I studied like malloc uses the sbrk system call. But, some one says, the sbrk is deprecated one. Now a days malloc using the mmap2 system call to allocate memory. So, Is there any commands like (ls,cat, grep, sed) using the sbrk system call. For Ex: The above output shows that the ls command using the above syscall to execute

size and objdump report different sizes for the text segment

I have tried this, but stuck up to the answer below questions where hello_world-1.c is The executed commands: Can anyone please help me to figure out what might be the reasons for the questions below? The size command didn’t list a stack or heap segment for hello_world or hello_world.o. What might be the reason behind this? (for above question, the

Advertisement