What operating system?
Windows use GetProcessMemoryInfo()
Linux use /proc/self/stat or possibly other entries
Type: Posts; User: codie
What operating system?
Windows use GetProcessMemoryInfo()
Linux use /proc/self/stat or possibly other entries
Why all that when
a = *(A*)buf;
does the same thing without worrying about the shape of the structure? But as mentioned by someone else, memcpy is the way to go because of possible alignment...
There is also Dia but I don't really care for it.
Sun is suppose to be releasing some tools (Java based I guess).
Apparently there are also Eclipse tools (mentioned in the above article).
I...
The name of the current executable can be found at "/proc/self/exe". Use readlink() to the get path.
Use dladdr() to get the path to a shared library. Try "man dladdr".
Besides nanosleep and select there is also usleep().
You won't find an IDE for Linux that is as good as Visual Studio. People don't like to admit that but it's true. I run Linux as my primary OS but I often spend time in VMware running Windows and...
No need to repartition to install Linux. Use VMware. VMware server is free now. Then you can just run Linux in Windows.
Or better, do like I do and run Linux as the primary OS and Windows in...
Not required, they are all exported unless declared static. There are some special features of GCC that allow functionality similar to Windows but people don't generally use them because it's not...