HomeFreeBSD

access.2: Mention that lstat(2) should be used for symbolic links

Description

access.2: Mention that lstat(2) should be used for symbolic links

access(), eaccess() and faccessat() will always dereference
symbolic links.

So add a note in the manual page, that lstat(2) should be
used in the case of symbolic links.

PR: 262895
Reviewed by: gbe, pauamma_gundo.com
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D44890

(cherry picked from commit 421025a274fb5759b3ecc8bdb30b24db830b45ae)

Details

Provenance
gbeAuthored on May 13 2024, 8:40 AM
desCommitted on May 23 2024, 2:43 AM
Reviewer
gbe
Differential Revision
D44890: access.2: Mention that lstat(2) should be used for symbolic links
Parents
rGc96451a0d94e: Add man page for the ice network driver.
Branches
Unknown
Tags
Unknown