mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
symlink.2: document EOPNOTSUPP
When the file system does not support symbolic links (like in the case of MSDOS), symlink() returns -1 and sets errno to EOPNOTSUPP. Document this behavior. Reviewed by: glebius, markj Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D49803 (cherry picked from commit dd9e59beebbb346f329dfd1de26a84da8afdcb1d)
This commit is contained in:
parent
25f9717663
commit
a1b159bb3e
1 changed files with 5 additions and 1 deletions
|
|
@ -27,7 +27,7 @@
|
|||
.\"
|
||||
.\" @(#)symlink.2 8.1 (Berkeley) 6/4/93
|
||||
.\"
|
||||
.Dd March 30, 2020
|
||||
.Dd April 15, 2025
|
||||
.Dt SYMLINK 2
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
|
@ -94,6 +94,10 @@ or the entire length of either path name exceeded 1023 characters.
|
|||
A component of the
|
||||
.Fa name2
|
||||
path prefix does not exist.
|
||||
.It Bq Er EOPNOTSUPP
|
||||
The file system containing the file named by
|
||||
.Fa name2
|
||||
does not support symbolic links.
|
||||
.It Bq Er EACCES
|
||||
A component of the
|
||||
.Fa name2
|
||||
|
|
|
|||
Loading…
Reference in a new issue