tmp/tmp14es7n9e/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Hard link count <a id="fs.op.hard.lk.ct">[[fs.op.hard.lk.ct]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
uintmax_t hard_link_count(const path& p);
|
| 5 |
+
uintmax_t hard_link_count(const path& p, error_code& ec) noexcept;
|
| 6 |
+
```
|
| 7 |
+
|
| 8 |
+
*Returns:* The number of hard links for `p`. The signature with argument
|
| 9 |
+
`ec` returns `static_cast<uintmax_t>(-1)` if an error occurs.
|
| 10 |
+
|
| 11 |
+
*Throws:* As specified in [[fs.err.report]].
|
| 12 |
+
|