Module Name: src Committed By: martin Date: Sat Jul 20 15:31:37 UTC 2024
Modified Files: src/lib/libc/sys [netbsd-10]: stat.2 Log Message: Pull up following revision(s) (requested by rin in ticket #755): lib/libc/sys/stat.2: revision 1.60 document S_ISWHT, sort these macros To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.59.8.1 src/lib/libc/sys/stat.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/sys/stat.2 diff -u src/lib/libc/sys/stat.2:1.59 src/lib/libc/sys/stat.2:1.59.8.1 --- src/lib/libc/sys/stat.2:1.59 Sun Sep 1 19:45:48 2019 +++ src/lib/libc/sys/stat.2 Sat Jul 20 15:31:36 2024 @@ -1,4 +1,4 @@ -.\" $NetBSD: stat.2,v 1.59 2019/09/01 19:45:48 sevan Exp $ +.\" $NetBSD: stat.2,v 1.59.8.1 2024/07/20 15:31:36 martin Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)stat.2 8.4 (Berkeley) 5/1/95 .\" -.Dd September 1, 2019 +.Dd October 15, 2023 .Dt STAT 2 .Os .Sh NAME @@ -225,12 +225,14 @@ Test for a character special file. Test for a directory. .It Fn S_ISFIFO "m" Test for a pipe or FIFO special file. -.It Fn S_ISREG "m" -Test for a regular file. .It Fn S_ISLNK "m" Test for a symbolic link. +.It Fn S_ISREG "m" +Test for a regular file. .It Fn S_ISSOCK "m" Test for a socket. +.It Fn S_ISWHT "m" +Test for a whiteout file. .El .Pp The macros evaluate to a non-zero value if the test