tmp/tmp169fecnc/{from.md → to.md}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
#### Symlink status <a id="fs.op.symlink.status">[[fs.op.symlink.status]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
file_status symlink_status(const path& p);
|
| 5 |
-
file_status symlink_status(const path& p, error_code& ec) noexcept;
|
| 6 |
```
|
| 7 |
|
| 8 |
*Effects:* Same as `status()`, above, except that the attributes of `p`
|
| 9 |
are determined as if by using POSIX `lstat()` to obtain a POSIX
|
| 10 |
`struct stat`.
|
|
@@ -16,9 +16,9 @@ determined as if by converting the `st_mode` member of the obtained
|
|
| 16 |
*Returns:* Same as `status()`, above, except that if the attributes
|
| 17 |
indicate a symbolic link, as if by POSIX `S_ISLNK`, returns
|
| 18 |
`file_status(file_type::symlink, prms)`. The signature with argument
|
| 19 |
`ec` returns `file_status(file_type::none)` if an error occurs.
|
| 20 |
|
| 21 |
-
*Remarks:* Pathname resolution terminates if `p` names a symbolic link.
|
| 22 |
-
|
| 23 |
*Throws:* As specified in [[fs.err.report]].
|
| 24 |
|
|
|
|
|
|
|
|
|
| 1 |
#### Symlink status <a id="fs.op.symlink.status">[[fs.op.symlink.status]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
file_status filesystem::symlink_status(const path& p);
|
| 5 |
+
file_status filesystem::symlink_status(const path& p, error_code& ec) noexcept;
|
| 6 |
```
|
| 7 |
|
| 8 |
*Effects:* Same as `status()`, above, except that the attributes of `p`
|
| 9 |
are determined as if by using POSIX `lstat()` to obtain a POSIX
|
| 10 |
`struct stat`.
|
|
|
|
| 16 |
*Returns:* Same as `status()`, above, except that if the attributes
|
| 17 |
indicate a symbolic link, as if by POSIX `S_ISLNK`, returns
|
| 18 |
`file_status(file_type::symlink, prms)`. The signature with argument
|
| 19 |
`ec` returns `file_status(file_type::none)` if an error occurs.
|
| 20 |
|
|
|
|
|
|
|
| 21 |
*Throws:* As specified in [[fs.err.report]].
|
| 22 |
|
| 23 |
+
*Remarks:* Pathname resolution terminates if `p` names a symbolic link.
|
| 24 |
+
|