From Jason Turner

[fs.op.symlink.status]

Diff to HTML by rtfpessoa

tmp/tmp1xtxhak2/{from.md → to.md} RENAMED
@@ -3,19 +3,19 @@
3
  ``` cpp
4
  file_status filesystem::symlink_status(const path& p);
5
  file_status filesystem::symlink_status(const path& p, error_code& ec) noexcept;
6
  ```
7
 
8
- *Effects:* Same as `status()`, above, except that the attributes of `p`
9
- are determined as if by using POSIX `lstat()` to obtain a POSIX
10
  `struct stat`.
11
 
12
  Let `prms` denote the result of `(m & perms::mask)`, where `m` is
13
  determined as if by converting the `st_mode` member of the obtained
14
  `struct stat` to the type `perms`.
15
 
16
- *Returns:* Same as `status()`, above, except that if the attributes
17
  indicate a symbolic link, as if by POSIX `S_ISLNK`, returns
18
  `file_status(file_type::symlink, prms)`. The signature with argument
19
  `ec` returns `file_status(file_type::none)` if an error occurs.
20
 
21
  *Throws:* As specified in  [[fs.err.report]].
 
3
  ``` cpp
4
  file_status filesystem::symlink_status(const path& p);
5
  file_status filesystem::symlink_status(const path& p, error_code& ec) noexcept;
6
  ```
7
 
8
+ *Effects:* Same as `status`, above, except that the attributes of `p`
9
+ are determined as if by using POSIX `lstat` to obtain a POSIX
10
  `struct stat`.
11
 
12
  Let `prms` denote the result of `(m & perms::mask)`, where `m` is
13
  determined as if by converting the `st_mode` member of the obtained
14
  `struct stat` to the type `perms`.
15
 
16
+ *Returns:* Same as `status`, above, except that if the attributes
17
  indicate a symbolic link, as if by POSIX `S_ISLNK`, returns
18
  `file_status(file_type::symlink, prms)`. The signature with argument
19
  `ec` returns `file_status(file_type::none)` if an error occurs.
20
 
21
  *Throws:* As specified in  [[fs.err.report]].