Get file's owner and group using boost

后端 未结 1 1653
面向向阳花
面向向阳花 2021-01-19 20:46

I want to get the owner and group from a file using boost::filesystem, but never found any way to do so.

I can get the file\'s permissions, but as I don\'t know the

相关标签:
1条回答
  • 2021-01-19 21:03

    What you're asking to do is a Unix system call. But you don't want to call it? Why? What possible value could boost provide? It's not portability, as nothing outside of a Unix is going to have a meaningful st_gid field.

    0 讨论(0)
提交回复
热议问题