Brad Fitzpatrick (brad) wrote,
Brad Fitzpatrick
brad

64-bit C programming

Can anybody recommend a good resource for how big C data types are when compiling on 32-bit vs. 64-bit platforms?

On both, what is:

int
void*
long
long long
printf formats

Apparently memcached has some 32-bit limits on 64-bit platforms, and I want to understand the problem before I apply some random "makes it work" patch.
Subscribe

Recent Posts from This Journal

  • Ukraine

    Nobody reads my LiveJournal anymore, but thank you to everybody in Russia protesting Putin's insane war against Ukraine. (I know it's risky…

  • Happy Birthday!

    Happy 20th Birthday, LiveJournal! 🐐🎂🎉

  • hi

    Posting from the iPhone app. Maybe I'm unblocked now.

  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 19 comments

Recent Posts from This Journal

  • Ukraine

    Nobody reads my LiveJournal anymore, but thank you to everybody in Russia protesting Putin's insane war against Ukraine. (I know it's risky…

  • Happy Birthday!

    Happy 20th Birthday, LiveJournal! 🐐🎂🎉

  • hi

    Posting from the iPhone app. Maybe I'm unblocked now.