git: 38eb41a3897a - main - pathconf.2: Document the _PC_HAS_NAMEDATTR name

From: Rick Macklem <rmacklem_at_FreeBSD.org>
Date: Sun, 04 May 2025 22:26:13 UTC
The branch main has been updated by rmacklem:

URL: https://cgit.FreeBSD.org/src/commit/?id=38eb41a3897a78097146b217ebbf0e348e29a35a

commit 38eb41a3897a78097146b217ebbf0e348e29a35a
Author:     Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2025-05-04 22:23:42 +0000
Commit:     Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2025-05-04 22:23:42 +0000

    pathconf.2: Document the _PC_HAS_NAMEDATTR name
    
    Commit 0f12c3cd0ddb adds a new pathconf(2) name called
    _PC_HAS_NAMEDATTR.
    
    This patch documents it in the man page.
    
    This is a content change.
    
    Reviewed by:    ziaee (manpages)
    Differential Revision:  https://reviews.freebsd.org/D50141
    Fixes:  2ec2ba7e232d ("vfs: Add VFS/syscall support for Solaris style extended attributes")
---
 lib/libsys/pathconf.2 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/libsys/pathconf.2 b/lib/libsys/pathconf.2
index a460e86e6968..4c562b9c2c9a 100644
--- a/lib/libsys/pathconf.2
+++ b/lib/libsys/pathconf.2
@@ -25,7 +25,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd April 16, 2025
+.Dd May 3, 2025
 .Dt PATHCONF 2
 .Os
 .Sh NAME
@@ -177,6 +177,8 @@ Return 1 if a file system supports hole-punching (see
 otherwise 0.
 .It Li _PC_NAMEDATTR_ENABLED
 Return 1 if named attributes are enabled for the file system, otherwise 0.
+.It Li _PC_HAS_NAMEDATTR
+Return 1 if one or more named attributes exist for the file, otherwise 0.
 .El
 .Sh RETURN VALUES
 If the call to