Pthread create as detached – I have a problem creating a thread as detached. Here’s the code I wrote: void* […]
Category: C Coding
Getting count of current used file descriptors from C code
Getting count of current used file descriptors from C code – Is there a C API to get the: Current […]
kernel module no debugging symbols found
kernel module no debugging symbols found – After I loaded linux kernel module with user@c4:$ insmod mmaptest.ko I can verify […]
Does C or C++ have a standard regex library?
Does C or C++ have a standard regex library? – Does it? If yes, where can I get the documentation […]
How does the kernel know what is the current thread?
How does the kernel know what is the current thread? – Can someone please explain me this snippet of code […]
C: cast int to size_t
C: cast int to size_t – What is the proper way to convert/cast an int to a size_t in C99 […]
Why would the size of the final binary be so much smaller than the size of the static library?
Why would the size of the final binary be so much smaller than the size of the static library? – […]
Adding custom tags to a TIFF file
Adding custom tags to a TIFF file – I’m quite new to libtiff, but I’ve managed to get tiff files […]
What are “cerr” and “stderr”?
What are “cerr” and “stderr”? – What is the difference between them and how are they used? Can anyone point […]
Tricky pointer question
Tricky pointer question – I’m having trouble with a past exam question on pointers in c which I found from […]