typedef char __darwin_uuid_string_t[37];
this piece of code is excepted from MacOS10.8/user/include/sys/_types.h
I’m wondering
why here is the number 37, but not a power of 2?
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.
UUIDs are 36-characters in length and hence form 37-character strings, including the null-character at the end.