31 Input/output library [input.output]

31.12 File systems [filesystems]

31.12.13 Filesystem operation functions [fs.op.funcs]

31.12.13.10 Create hard link [fs.op.create.hard.lk]

Effects: Establishes the postcondition, as if by POSIX link().
Postconditions:
  • exists(to) && exists(new_hard_link) && equivalent(to, new_hard_link)
  • The contents of the file or directory to resolves to are unchanged.
Throws: As specified in [fs.err.report].
[Note 1: 
Some operating systems do not support hard links at all or support them only for regular files.
Some file systems (such as the FAT file system) do not support hard links regardless of the operating system.
Some file systems limit the number of links per file.
— end note]