Search:

Type: Posts; User: codie

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    2,601

    What operating system? Windows use...

    What operating system?

    Windows use GetProcessMemoryInfo()

    Linux use /proc/self/stat or possibly other entries
  2. Thread: memcpy() faster?

    by codie
    Replies
    18
    Views
    18,583

    Why all that when a = *(A*)buf; does the same...

    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...
  3. Replies
    8
    Views
    2,966

    There is also Dia...

    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...
  4. Replies
    5
    Views
    5,494

    The name of the current executable can be found...

    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".
  5. Replies
    3
    Views
    19,079

    Besides nanosleep and select there is also...

    Besides nanosleep and select there is also usleep().
  6. Replies
    11
    Views
    3,193

    You won't find an IDE for Linux that is as good...

    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...
  7. Replies
    9
    Views
    9,544

    No need to repartition to install Linux. Use...

    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...
  8. Replies
    2
    Views
    1,456

    Not required, they are all exported unless...

    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...
Results 1 to 8 of 8