Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 May 2025 22:26:13 GMT
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 38eb41a3897a - main - pathconf.2: Document the _PC_HAS_NAMEDATTR name
Message-ID:  <202505042226.544MQDlA060951@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202505042226.544MQDlA060951>