Module Name: src Committed By: jschauma Date: Sun Oct 15 20:37:04 UTC 2023
Modified Files: src/lib/libc/sys: stat.2 Log Message: document S_ISWHT, sort these macros To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 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.60 --- src/lib/libc/sys/stat.2:1.59 Sun Sep 1 19:45:48 2019 +++ src/lib/libc/sys/stat.2 Sun Oct 15 20:37:04 2023 @@ -1,4 +1,4 @@ -.\" $NetBSD: stat.2,v 1.59 2019/09/01 19:45:48 sevan Exp $ +.\" $NetBSD: stat.2,v 1.60 2023/10/15 20:37:04 jschauma 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