tmp/tmpafj44esz/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Read symlink <a id="fs.op.read_symlink">[[fs.op.read_symlink]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
path read_symlink(const path& p);
|
| 5 |
+
path read_symlink(const path& p, error_code& ec);
|
| 6 |
+
```
|
| 7 |
+
|
| 8 |
+
*Returns:* If `p` resolves to a symbolic link, a `path` object
|
| 9 |
+
containing the contents of that symbolic link. The signature with
|
| 10 |
+
argument `ec` returns `path()` if an error occurs.
|
| 11 |
+
|
| 12 |
+
*Throws:* As specified in [[fs.err.report]].
|
| 13 |
+
|
| 14 |
+
[*Note 1*: It is an error if `p` does not resolve to a symbolic
|
| 15 |
+
link. — *end note*]
|
| 16 |
+
|