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.
The best reason I can think of is to avoid introducing an unsigned version of
off_tas an extra type; POSIX already has a ridiculous abundance of integer types with similar uses.Aside from that, being able to store -1 in
st_sizewhen size is not a concept that makes sense is probably useful; I’m not sure if any implementations do this, and I can’t find where POSIX puts any requirements on the contents ofst_sizeexcept for regular files and symlinks…