質問

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.

役に立ちましたか?

解決

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top