std::filesystem::file_status::
permissions
std
::
filesystem
::
perms
permissions
(
)
const
noexcept
;
(1)
(C++17 起)
void
permissions
(
std
::
filesystem
::
perms
perm
)
noexcept
;
(2)
(C++17 起)
访问文件权限信息。
1)
返回文件权限信息。
2)
设置文件权限为
perm
。
参数
perm
-
要设置的文件权限
返回值
1)
文件权限信息。
2)
(无)
示例
本节未完成
原因:暂无示例
版本历史
(当前 |
先前
)
2017年9月29日 (五) 09:22
Fruderica
(
讨论
|
贡献
)
小
. .
(580字节)
(-24)
. .
(merge noexcept)
(撤销)
(
当前
| 先前)
2017年4月30日 (日) 09:53
Fruderica
(
讨论
|
贡献
)
. .
(604字节)
(+604)
. .
(以“{{cpp/filesystem/file_status/title|permissions}} {{cpp/filesystem/file_status/navbar}} {{dcl begin}} {{dcl | since=c++17 | num=1 | 1= std::filesystem::perms permissi...”为内容创建页面)