git: ac64cd191c3f - main - pathconf.2: Document the _PC_HAS_HIDDENSYSTEM name
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 06 Jul 2025 19:25:49 UTC
The branch main has been updated by rmacklem:
URL: https://cgit.FreeBSD.org/src/commit/?id=ac64cd191c3f49efe900b8e90657f51578503265
commit ac64cd191c3f49efe900b8e90657f51578503265
Author: Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2025-07-06 19:23:05 +0000
Commit: Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2025-07-06 19:23:05 +0000
pathconf.2: Document the _PC_HAS_HIDDENSYSTEM name
Commit afd5bc630930 added a new pathconf name
_PC_HAS_HIDDENSYSTEM.
This patch documents this new name.
This is a content change.
Reviewed by: kib, ziaee (manpages)
Differential Revision: https://reviews.freebsd.org/D51175
Fixes: afd5bc630930 ("pathconf: Add a new variable for hidden/system")
---
lib/libsys/pathconf.2 | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/lib/libsys/pathconf.2 b/lib/libsys/pathconf.2
index 4c562b9c2c9a..79ac8310000d 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 May 3, 2025
+.Dd July 5, 2025
.Dt PATHCONF 2
.Os
.Sh NAME
@@ -179,6 +179,14 @@ otherwise 0.
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.
+.It Li _PC_HAS_HIDDENSYSTEM
+Return 1 if both
+.Dv UF_HIDDEN
+and
+.Dv UF_SYSTEM
+flags can be set by
+.Xr chflags 2 ,
+otherwise 0.
.El
.Sh RETURN VALUES
If the call to
@@ -255,6 +263,7 @@ An I/O error occurred while reading from or writing to the file system.
Corrupted data was detected while reading from the file system.
.El
.Sh SEE ALSO
+.Xr chflags 2 ,
.Xr lseek 2 ,
.Xr sysctl 3
.Sh HISTORY