From Jason Turner

[fs.op.create_hard_lk]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpwigaxeve/{from.md → to.md} +0 -23
tmp/tmpwigaxeve/{from.md → to.md} RENAMED
@@ -1,23 +0,0 @@
1
- #### Create hard link <a id="fs.op.create_hard_lk">[[fs.op.create_hard_lk]]</a>
2
-
3
- ``` cpp
4
- void create_hard_link(const path& to, const path& new_hard_link);
5
- void create_hard_link(const path& to, const path& new_hard_link,
6
- error_code& ec) noexcept;
7
- ```
8
-
9
- *Effects:* Establishes the postcondition, as if by POSIX `link()`.
10
-
11
- *Postconditions:*
12
-
13
- - `exists(to) && exists(new_hard_link) && equivalent(to, new_hard_link)`
14
- - The contents of the file or directory `to` resolves to are unchanged.
15
-
16
- *Throws:* As specified in  [[fs.err.report]].
17
-
18
- [*Note 1*: Some operating systems do not support hard links at all or
19
- support them only for regular files. Some file systems (such as the FAT
20
- file system) do not support hard links regardless of the operating
21
- system. Some file systems limit the number of links per
22
- file. — *end note*]
23
-