In particular, I would like to be able to access the user_id and group_id of a file. The closest equivalent I can find to stat struct is the file_status class but this doesn’t appear to have the appropriate fields..
Any idea?
Cheers,
Ben.
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.
According to documentation Boost::filesystem “provides facilities to manipulate files and directories, and the paths that identify them”.
While getting information about user_id/group_id can be useful, but it can be non-portable and thus is omitted.