tmp/tmpsly1w3br/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Is character file <a id="fs.op.is_char_file">[[fs.op.is_char_file]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
bool is_character_file(file_status s) noexcept;
|
| 5 |
+
```
|
| 6 |
+
|
| 7 |
+
*Returns:* `s.type() == file_type::character`.
|
| 8 |
+
|
| 9 |
+
``` cpp
|
| 10 |
+
bool is_character_file(const path& p);
|
| 11 |
+
bool is_character_file(const path& p, error_code& ec) noexcept;
|
| 12 |
+
```
|
| 13 |
+
|
| 14 |
+
*Returns:* `is_character_file(status(p))` or
|
| 15 |
+
`is_character_file(status(p, ec))`, respectively.
|
| 16 |
+
The signature with argument `ec` returns `false` if an error occurs.
|
| 17 |
+
|
| 18 |
+
*Throws:* As specified in [[fs.err.report]].
|
| 19 |
+
|