On Linux systems (either 32- or 64-bit), what is the size of pid_t, uid_t, and gid_t?
On Linux systems (either 32- or 64-bit), what is the size of pid_t ,
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
EDIT: Per popular request (and because, realistically, 99% of the people coming to this question are going to be running x86 or x86_64)…
On an i686 and x86_64 (so, 32-bit and 64-bit) processor running Linux >= 3.0.0, the answer is: