From 38eb41a3897a78097146b217ebbf0e348e29a35a Mon Sep 17 00:00:00 2001 From: Rick Macklem Date: Sun, 4 May 2025 15:23:42 -0700 Subject: [PATCH] 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 a460e86e696..4c562b9c2c9 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